Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000949/0.000949, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009396/0.0009396, allocations: 167 kB / 24.82 MB, free: 9.27 MB / 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.9833/0.9833, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.534e-05, allocations: 6.25 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003556/0.003571, allocations: 3.923 MB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.005718, allocations: 1.585 MB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.006109, allocations: 39.69 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.006394, allocations: 166 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.006689, allocations: 178.2 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.0075, allocations: 0.6005 MB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.008281, allocations: 1.038 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.008632, allocations: 295.6 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.009089, allocations: 0.5221 MB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.009303, allocations: 267 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.36e-05/0.009396, allocations: 88 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.009469, allocations: 87.94 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-05/0.009567, allocations: 203.1 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.009722, allocations: 251.1 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.01021, allocations: 0.6651 MB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01021, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01021, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.01022, allocations: 4 kB / 386.3 MB, free: 10.48 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.001132/0.01135, allocations: 1.324 MB / 387.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01139, allocations: 12.03 kB / 387.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.01153, allocations: 168.2 kB / 387.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.01207, allocations: 0.62 MB / 388.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.0121, allocations: 53.62 kB / 388.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.01217, allocations: 76.27 kB / 388.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.0128, allocations: 0.827 MB / 389.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01282, allocations: 0 / 389.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.01285, allocations: 32 kB / 389.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01286, allocations: 16 kB / 389.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.01309, allocations: 193.3 kB / 389.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.01491, allocations: 2.806 MB / 392.5 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.01531, allocations: 381.1 kB / 392.8 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.01544, allocations: 122.7 kB / 392.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.01548, allocations: 15.98 kB / 393 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.01551, allocations: 45.33 kB / 393 MB, free: 3.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.553e-06/0.01551, allocations: 0 / 393 MB, free: 3.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005263/0.01604, allocations: 408 kB / 393.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.01615, allocations: 342.1 kB / 393.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.01657, allocations: 0.6435 MB / 394.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.0166, allocations: 37.7 kB / 394.4 MB, free: 1.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.01685, allocations: 491.4 kB / 394.9 MB, free: 1.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.01695, allocations: 194.3 kB / 395.1 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.01707, allocations: 115.9 kB / 395.2 MB, free: 1.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.0172, allocations: 0.5004 MB / 395.7 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01731, allocations: 74.25 kB / 395.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.01758, allocations: 485.5 kB / 396.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.01787, allocations: 310.1 kB / 396.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01788, allocations: 0 / 396.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008548/0.01873, allocations: 0.6339 MB / 397.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01874, allocations: 4 kB / 397.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01875, allocations: 4.281 kB / 397.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.01933, allocations: 262.3 kB / 397.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.01958, allocations: 115.9 kB / 397.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.02327, allocations: 7.652 MB / 405.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.02347, allocations: 67.55 kB / 405.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.02349, allocations: 16 kB / 405.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001757/0.02366, allocations: 200.1 kB / 405.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002364/0.0239, allocations: 489.5 kB / 406 MB, free: 5.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002554/0.02415, allocations: 296.9 kB / 406.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.02416, allocations: 0 / 406.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0005521/0.02471, allocations: 497.6 kB / 406.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.02472, allocations: 8 kB / 406.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.02472, allocations: 3.984 kB / 406.8 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.02495, allocations: 115.5 kB / 406.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.02529, allocations: 167.8 kB / 407 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.02701, allocations: 3.771 MB / 410.8 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.02723, allocations: 63.7 kB / 410.9 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.02725, allocations: 12 kB / 410.9 MB, free: 308 kB / 378.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 (PID1.I.local_reset,PID2.I.local_reset,PID3.I.local_reset,PID4.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.0001402/0.02739, allocations: 316 kB / 411.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.0275, allocations: 103.4 kB / 411.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.02758, allocations: 94.47 kB / 411.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02758, allocations: 8 kB / 411.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.02758, allocations: 3.938 kB / 411.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.02759, allocations: 3.938 kB / 411.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.02804, allocations: 416.5 kB / 411.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02804, allocations: 0 / 411.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.0283, allocations: 95.89 kB / 411.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.0283, allocations: 8 kB / 411.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.02832, allocations: 11.98 kB / 411.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.02833, allocations: 0 / 411.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.02833, allocations: 4 kB / 411.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.0289, allocations: 0.9223 MB / 412.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.02904, allocations: 135.2 kB / 413 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.02908, allocations: 12 kB / 413 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.02931, allocations: 27.98 kB / 413 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.02936, allocations: 47.86 kB / 413.1 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.02937, allocations: 12 kB / 413.1 MB, free: 14.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.02959, allocations: 394.8 kB / 413.5 MB, free: 13.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02959, allocations: 0 / 413.5 MB, free: 13.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005772/0.03016, allocations: 295.1 kB / 413.7 MB, free: 13.37 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 8.764e-05/0.03025, allocations: 115.1 kB / 413.9 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.03168, allocations: 1.726 MB / 415.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.03168, allocations: 0 / 415.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.03182, allocations: 144.4 kB / 415.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.03252, allocations: 241.1 kB / 416 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.03387, allocations: 1.378 MB / 417.3 MB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.03399, allocations: 170.9 kB / 417.5 MB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.03422, allocations: 84.91 kB / 417.6 MB, free: 9.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.03459, allocations: 262 kB / 417.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/0.03459, allocations: 0 / 417.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of Templates: time 0.01476/0.04935, allocations: 13.49 MB / 431.3 MB, free: 11.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3060896708630025]