Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9929/0.9929, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2851/0.2851, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.09e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004086/0.004117, allocations: 4.004 MB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.006354, allocations: 1.577 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.006709, allocations: 47.62 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.007037, allocations: 158.2 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.00733, allocations: 178.2 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.008169, allocations: 0.5927 MB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007062/0.008876, allocations: 1.05 MB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.009217, allocations: 283.7 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.00959, allocations: 0.5298 MB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.009803, allocations: 263 kB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.009886, allocations: 84 kB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.009955, allocations: 92 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.01006, allocations: 203.1 kB / 387.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.01022, allocations: 263.1 kB / 387.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.01072, allocations: 0.6612 MB / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01072, allocations: 0 / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01073, allocations: 0 / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.01073, allocations: 0 / 388 MB, free: 8.637 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001159/0.01189, allocations: 1.316 MB / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.01194, allocations: 8.031 kB / 389.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.01208, allocations: 172.2 kB / 389.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.01266, allocations: 0.6161 MB / 390.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.01269, allocations: 49.69 kB / 390.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.01277, allocations: 76.33 kB / 390.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.01353, allocations: 0.8622 MB / 391.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01354, allocations: 0 / 391.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.01358, allocations: 28 kB / 391.1 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.01359, allocations: 16 kB / 391.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.01394, allocations: 243.7 kB / 391.4 MB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.01589, allocations: 2.919 MB / 394.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.01637, allocations: 413.1 kB / 394.7 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.01654, allocations: 138.8 kB / 394.8 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.01657, allocations: 11.94 kB / 394.8 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.0166, allocations: 41.39 kB / 394.9 MB, free: 1.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/0.0166, allocations: 7.938 kB / 394.9 MB, free: 1.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007349/0.01734, allocations: 452.7 kB / 395.3 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.01744, allocations: 350.1 kB / 395.7 MB, free: 496 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.01789, allocations: 0.6478 MB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.01792, allocations: 37.7 kB / 396.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.01815, allocations: 491.5 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.01825, allocations: 186.4 kB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.01835, allocations: 115.9 kB / 397.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.01846, allocations: 0.4965 MB / 397.6 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.0186, allocations: 82.27 kB / 397.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.01889, allocations: 0.5014 MB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.01923, allocations: 333.2 kB / 398.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.01924, allocations: 3.938 kB / 398.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001144/0.02038, allocations: 0.6771 MB / 399.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.02039, allocations: 4 kB / 399.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.0204, allocations: 4 kB / 399.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.02105, allocations: 266.6 kB / 399.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.02132, allocations: 115.9 kB / 399.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.0254, allocations: 7.78 MB / 407.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.02559, allocations: 75.67 kB / 407.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.02561, allocations: 20 kB / 407.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000211/0.02582, allocations: 212.1 kB / 407.7 MB, free: 3.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002786/0.0261, allocations: 0.5053 MB / 408.2 MB, free: 3.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003147/0.02641, allocations: 329.3 kB / 408.5 MB, free: 2.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.02642, allocations: 0 / 408.5 MB, free: 2.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006145/0.02703, allocations: 0.5293 MB / 409 MB, free: 2.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.02704, allocations: 8 kB / 409 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.02704, allocations: 0 / 409 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.0273, allocations: 115.3 kB / 409.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.02763, allocations: 171.8 kB / 409.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.02961, allocations: 3.828 MB / 413.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.0298, allocations: 67.77 kB / 413.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.02982, allocations: 20 kB / 413.2 MB, free: 13.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.02996, allocations: 307.9 kB / 413.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.03007, allocations: 111.5 kB / 413.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.03014, allocations: 94.47 kB / 413.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.03015, allocations: 8 kB / 413.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.03015, allocations: 4 kB / 413.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.03016, allocations: 3.984 kB / 413.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.03065, allocations: 0.5001 MB / 414.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.03065, allocations: 0 / 414.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.0309, allocations: 95.89 kB / 414.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.0309, allocations: 7.938 kB / 414.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.03092, allocations: 8 kB / 414.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.03093, allocations: 7.984 kB / 414.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03093, allocations: 0 / 414.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.0316, allocations: 0.9654 MB / 415.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.03174, allocations: 139.2 kB / 415.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.03178, allocations: 15.98 kB / 415.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.03199, allocations: 35.97 kB / 415.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.03206, allocations: 35.94 kB / 415.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.03208, allocations: 11.98 kB / 415.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.03237, allocations: 426.9 kB / 416 MB, free: 10.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03237, allocations: 0 / 416 MB, free: 10.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.03294, allocations: 295.1 kB / 416.3 MB, free: 10.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.03304, allocations: 119.1 kB / 416.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.0346, allocations: 1.769 MB / 418.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.0346, allocations: 7.938 kB / 418.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.03478, allocations: 155.8 kB / 418.3 MB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.03551, allocations: 241.9 kB / 418.5 MB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.03693, allocations: 1.379 MB / 419.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.03727, allocations: 166.9 kB / 420.1 MB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.03745, allocations: 96.88 kB / 420.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.03756, allocations: 48.5 kB / 420.2 MB, free: 6.438 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.03756, allocations: 0 / 420.2 MB, free: 6.438 MB / 394.7 MB Notification: Performance of Templates: time 0.01438/0.05195, allocations: 12.64 MB / 432.9 MB, free: 9.977 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.852589489892125]