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.001192/0.001192, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.000998/0.000998, allocations: 166 kB / 24.82 MB, free: 9.309 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 1.244/1.244, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.4517/0.4517, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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 2.945e-06/2.945e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.737e-05/5.031e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.006543/0.006593, allocations: 3.919 MB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.01066, allocations: 1.581 MB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.01192, allocations: 43.69 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.01256, allocations: 166.2 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.01338, allocations: 178.2 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.01503, allocations: 0.5888 MB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.01638, allocations: 1.046 MB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000553/0.01693, allocations: 287.6 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.01812, allocations: 0.522 MB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.01844, allocations: 271 kB / 387.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.01856, allocations: 84 kB / 387.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.01865, allocations: 88 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.01878, allocations: 199.1 kB / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.01898, allocations: 263.1 kB / 387.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.01979, allocations: 0.6612 MB / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.0198, allocations: 0 / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.0198, allocations: 4 kB / 388.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.01982, allocations: 0 / 388.4 MB, free: 8.438 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.001718/0.02154, allocations: 1.327 MB / 389.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.634e-05/0.02161, allocations: 12.03 kB / 389.7 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.02184, allocations: 168.2 kB / 389.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.02264, allocations: 0.62 MB / 390.5 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.02269, allocations: 45.69 kB / 390.5 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.02278, allocations: 76.33 kB / 390.6 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.02369, allocations: 0.8231 MB / 391.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.02371, allocations: 11.94 kB / 391.4 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.02376, allocations: 24 kB / 391.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.02377, allocations: 16 kB / 391.5 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.02406, allocations: 193.2 kB / 391.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.02736, allocations: 2.814 MB / 394.5 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.02795, allocations: 388.8 kB / 394.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.0281, allocations: 118.7 kB / 395 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.02816, allocations: 11.94 kB / 395 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.0282, allocations: 53.31 kB / 395 MB, free: 1.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.506e-06/0.02821, allocations: 0 / 395 MB, free: 1.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007238/0.02893, allocations: 399.6 kB / 395.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.0291, allocations: 350.1 kB / 395.8 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.02964, allocations: 0.6357 MB / 396.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.02969, allocations: 37.7 kB / 396.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.03001, allocations: 495.3 kB / 396.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.03014, allocations: 190.4 kB / 397.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.0303, allocations: 123.9 kB / 397.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.0305, allocations: 0.4926 MB / 397.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.03062, allocations: 70.25 kB / 397.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.03098, allocations: 489.4 kB / 398.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.03133, allocations: 309.9 kB / 398.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.03134, allocations: 4 kB / 398.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001073/0.03241, allocations: 0.6283 MB / 399.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.03244, allocations: 10.78 kB / 399.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.03246, allocations: 12 kB / 399.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007504/0.03321, allocations: 250.5 kB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.0335, allocations: 119.8 kB / 399.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.03992, allocations: 7.648 MB / 407.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.04046, allocations: 71.53 kB / 407.3 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.04049, allocations: 16 kB / 407.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003664/0.04086, allocations: 200.2 kB / 407.5 MB, free: 4.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007718/0.04163, allocations: 477.5 kB / 408 MB, free: 3.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000321/0.04195, allocations: 309 kB / 408.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.04195, allocations: 4 kB / 408.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0007076/0.04266, allocations: 490.8 kB / 408.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.04267, allocations: 4 kB / 408.8 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.04268, allocations: 4.281 kB / 408.8 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.04298, allocations: 115.3 kB / 408.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.04334, allocations: 167.8 kB / 409.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.04565, allocations: 3.767 MB / 412.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.04601, allocations: 67.7 kB / 412.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.04603, allocations: 12 kB / 412.9 MB, free: 14.26 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 (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.0002658/0.04629, allocations: 311.9 kB / 413.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.04647, allocations: 107.4 kB / 413.3 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.04661, allocations: 94.47 kB / 413.4 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.04661, allocations: 4 kB / 413.4 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.04662, allocations: 4 kB / 413.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.04663, allocations: 3.984 kB / 413.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.04738, allocations: 408.5 kB / 413.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.04739, allocations: 4 kB / 413.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.04766, allocations: 107.8 kB / 413.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.04767, allocations: 0 / 413.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.04769, allocations: 8 kB / 413.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.0477, allocations: 4 kB / 413.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.0477, allocations: 0 / 413.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.04852, allocations: 0.9263 MB / 414.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.0487, allocations: 135.2 kB / 415 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.04874, allocations: 15.94 kB / 415 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.04941, allocations: 39.97 kB / 415 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.0495, allocations: 31.94 kB / 415.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.04952, allocations: 8 kB / 415.1 MB, free: 12.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.0498, allocations: 398.8 kB / 415.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0498, allocations: 0 / 415.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009448/0.05075, allocations: 303.1 kB / 415.8 MB, free: 11.32 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.0001987/0.05094, allocations: 111.1 kB / 415.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.05308, allocations: 1.728 MB / 417.6 MB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.05309, allocations: 4 kB / 417.6 MB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.05327, allocations: 140.9 kB / 417.7 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.05419, allocations: 245.5 kB / 418 MB, free: 9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.05632, allocations: 1.371 MB / 419.4 MB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.0565, allocations: 170.9 kB / 419.5 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.05685, allocations: 84.91 kB / 419.6 MB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.05727, allocations: 266 kB / 419.9 MB, free: 7.043 MB / 394.7 MB Notification: Performance of SimCode: time 2.345e-06/0.05727, allocations: 4 kB / 419.9 MB, free: 7.039 MB / 394.7 MB Notification: Performance of Templates: time 0.02408/0.08135, allocations: 13.49 MB / 433.4 MB, free: 9.742 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: 4.462876006960869]