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.0009683/0.0009683, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009513/0.0009513, allocations: 161 kB / 24.56 MB, free: 16 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.928/0.928, allocations: 177.1 MB / 205 MB, free: 5.629 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.2482/0.2482, allocations: 32.8 MB / 294.3 MB, free: 1.273 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 1.173e-06/1.173e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.977e-05, allocations: 5.547 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003535/0.003555, allocations: 4.001 MB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.005782, allocations: 1.589 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.006183, allocations: 43.69 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.006472, allocations: 162.2 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.00677, allocations: 166.2 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.007683, allocations: 0.6005 MB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008778/0.008561, allocations: 1.038 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.008942, allocations: 291.6 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.009565, allocations: 0.5298 MB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.009799, allocations: 259 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.009886, allocations: 91.98 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.455e-05/0.00996, allocations: 88 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.01006, allocations: 203.1 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.01022, allocations: 263.1 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.01073, allocations: 0.6573 MB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01073, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01073, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.01074, allocations: 4 kB / 386 MB, free: 10.66 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.001185/0.01192, allocations: 1.324 MB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.01196, allocations: 8.031 kB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.01213, allocations: 172.2 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.01298, allocations: 0.62 MB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.01301, allocations: 45.69 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.01309, allocations: 76.33 kB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.01387, allocations: 0.8622 MB / 389.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.01389, allocations: 3.938 kB / 389.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.01393, allocations: 28 kB / 389.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01394, allocations: 16 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.0143, allocations: 244 kB / 389.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.01631, allocations: 2.907 MB / 392.3 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.01684, allocations: 416.6 kB / 392.7 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.01701, allocations: 130.7 kB / 392.8 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.01705, allocations: 23.86 kB / 392.8 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.01707, allocations: 49.38 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.054e-06/0.01708, allocations: 0 / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006568/0.01773, allocations: 452.4 kB / 393.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.01783, allocations: 342.1 kB / 393.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.01829, allocations: 0.6517 MB / 394.3 MB, free: 1.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.01832, allocations: 37.7 kB / 394.3 MB, free: 1.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.0188, allocations: 483.5 kB / 394.8 MB, free: 1.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.0189, allocations: 194.3 kB / 395 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01901, allocations: 115.9 kB / 395.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01912, allocations: 0.4926 MB / 395.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.01926, allocations: 94.25 kB / 395.7 MB, free: 416 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.01955, allocations: 0.4936 MB / 396.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.01991, allocations: 341.7 kB / 396.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01991, allocations: 7.938 kB / 396.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009717/0.02088, allocations: 0.669 MB / 397.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.0209, allocations: 8 kB / 397.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02091, allocations: 4 kB / 397.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.02157, allocations: 258.8 kB / 397.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.02185, allocations: 123.8 kB / 397.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.026, allocations: 7.78 MB / 405.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.02621, allocations: 71.59 kB / 405.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.02624, allocations: 20 kB / 405.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000219/0.02646, allocations: 212.1 kB / 405.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002648/0.02672, allocations: 0.4898 MB / 406.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003274/0.02705, allocations: 336.9 kB / 406.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.02705, allocations: 0 / 406.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006152/0.02767, allocations: 0.528 MB / 407 MB, free: 4.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.02767, allocations: 4 kB / 407 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.02768, allocations: 7.984 kB / 407 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.02793, allocations: 119.7 kB / 407.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.02827, allocations: 167.8 kB / 407.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.03019, allocations: 3.832 MB / 411.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.03038, allocations: 67.77 kB / 411.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.0304, allocations: 16 kB / 411.2 MB, free: 15.71 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.0001404/0.03054, allocations: 315.9 kB / 411.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.03065, allocations: 107.4 kB / 411.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.03073, allocations: 94.47 kB / 411.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.03073, allocations: 8 kB / 411.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.03074, allocations: 4 kB / 411.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.03074, allocations: 3.984 kB / 411.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.03124, allocations: 0.4962 MB / 412.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.03124, allocations: 0 / 412.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.0315, allocations: 99.83 kB / 412.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.03151, allocations: 11.92 kB / 412.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.03153, allocations: 8 kB / 412.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.03153, allocations: 4.125 kB / 412.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.03153, allocations: 4 kB / 412.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.03219, allocations: 0.9655 MB / 413.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.03233, allocations: 143.2 kB / 413.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.03237, allocations: 12 kB / 413.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.03258, allocations: 27.92 kB / 413.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.03265, allocations: 39.92 kB / 413.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.03266, allocations: 12 kB / 413.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.03293, allocations: 422.9 kB / 414 MB, free: 12.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03293, allocations: 0 / 414 MB, free: 12.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.03349, allocations: 299.1 kB / 414.2 MB, free: 12.6 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.0001068/0.0336, allocations: 111.2 kB / 414.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.03547, allocations: 1.773 MB / 416.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.03547, allocations: 3.938 kB / 416.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.03565, allocations: 155.2 kB / 416.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.03638, allocations: 253 kB / 416.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.03773, allocations: 1.375 MB / 417.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.03784, allocations: 170.9 kB / 418.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.03803, allocations: 88.91 kB / 418.2 MB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.03814, allocations: 48.5 kB / 418.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03814, allocations: 0 / 418.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of Templates: time 0.0173/0.05544, allocations: 13.28 MB / 431.5 MB, free: 11.34 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.470142657868564]