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.001221/0.001221, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.0009682/0.0009682, allocations: 166.3 kB / 24.99 MB, free: 9.324 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2555/0.2555, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.014e-06/2.014e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.784e-05, allocations: 2.312 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005066/0.005104, allocations: 3.99 MB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.007658, allocations: 1.577 MB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.008138, allocations: 47.69 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.008468, allocations: 166.1 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.008788, allocations: 174.2 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.009665, allocations: 0.6005 MB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.01042, allocations: 1.038 MB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.01084, allocations: 291.6 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.01126, allocations: 0.5221 MB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.01149, allocations: 263 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.01157, allocations: 87.94 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.01164, allocations: 88 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.01175, allocations: 207.1 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.01191, allocations: 255.1 kB / 385.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.01249, allocations: 0.6651 MB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.0125, allocations: 4 kB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0125, allocations: 0 / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.01251, allocations: 0 / 385.9 MB, free: 11 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.001267/0.01378, allocations: 1.312 MB / 387.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.01382, allocations: 8.031 kB / 387.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.01399, allocations: 176.2 kB / 387.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.01464, allocations: 0.62 MB / 388 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.01468, allocations: 53.62 kB / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.01476, allocations: 68.33 kB / 388.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.01556, allocations: 0.8739 MB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01557, allocations: 0 / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.01561, allocations: 28 kB / 389.1 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.01563, allocations: 16 kB / 389.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.016, allocations: 240 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.01815, allocations: 2.907 MB / 392.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.0187, allocations: 409.2 kB / 392.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.01888, allocations: 146.6 kB / 392.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.01892, allocations: 11.94 kB / 392.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.01895, allocations: 45.38 kB / 392.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.936e-06/0.01896, allocations: 0 / 392.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007021/0.01966, allocations: 452.4 kB / 393.3 MB, free: 3.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.01978, allocations: 346.1 kB / 393.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.02025, allocations: 0.6517 MB / 394.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.02028, allocations: 37.7 kB / 394.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.02053, allocations: 483.5 kB / 394.8 MB, free: 1.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.02062, allocations: 186.3 kB / 394.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.02074, allocations: 119.9 kB / 395.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.02087, allocations: 0.4965 MB / 395.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.02102, allocations: 90.25 kB / 395.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.02135, allocations: 0.4937 MB / 396.1 MB, free: 128 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.02174, allocations: 339.5 kB / 396.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.02174, allocations: 3.938 kB / 396.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001037/0.02278, allocations: 0.6729 MB / 397.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.0228, allocations: 8.281 kB / 397.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.02281, allocations: 7.938 kB / 397.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.02352, allocations: 262.5 kB / 397.4 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.0238, allocations: 119.8 kB / 397.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/0.02833, allocations: 7.783 MB / 405.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.02867, allocations: 71.84 kB / 405.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.02869, allocations: 24.03 kB / 405.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002714/0.02896, allocations: 216.1 kB / 405.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003007/0.02927, allocations: 0.4936 MB / 406.1 MB, free: 5.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003595/0.02963, allocations: 333 kB / 406.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.02963, allocations: 0 / 406.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006769/0.0303, allocations: 0.5187 MB / 407 MB, free: 4.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.03032, allocations: 8 kB / 407 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.03032, allocations: 288 / 407 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/0.03061, allocations: 127.2 kB / 407.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.03097, allocations: 159.8 kB / 407.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.03288, allocations: 3.836 MB / 411.1 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.03312, allocations: 67.7 kB / 411.2 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.03314, allocations: 20 kB / 411.2 MB, free: 56 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 (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.0001994/0.03334, allocations: 304 kB / 411.5 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.03347, allocations: 111.4 kB / 411.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.849e-05/0.03357, allocations: 90.47 kB / 411.7 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.03358, allocations: 8 kB / 411.7 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.03358, allocations: 0 / 411.7 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.03359, allocations: 3.984 kB / 411.7 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.03417, allocations: 0.5002 MB / 412.2 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.03417, allocations: 4 kB / 412.2 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.03445, allocations: 103.8 kB / 412.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.03445, allocations: 7.938 kB / 412.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.03448, allocations: 15.98 kB / 412.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.03448, allocations: 4 kB / 412.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.03448, allocations: 0 / 412.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.03522, allocations: 0.9646 MB / 413.3 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.03539, allocations: 143.2 kB / 413.4 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.03543, allocations: 12 kB / 413.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.03566, allocations: 39.91 kB / 413.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.03573, allocations: 39.92 kB / 413.5 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.03575, allocations: 12 kB / 413.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003061/0.03605, allocations: 422.9 kB / 413.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.03605, allocations: 4 kB / 413.9 MB, free: 13.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007056/0.03676, allocations: 295.1 kB / 414.2 MB, free: 12.94 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.0001309/0.03689, allocations: 107.2 kB / 414.3 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.03875, allocations: 1.776 MB / 416.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.03876, allocations: 0 / 416.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.03895, allocations: 149 kB / 416.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.03978, allocations: 248.4 kB / 416.5 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.04143, allocations: 1.371 MB / 417.9 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.04156, allocations: 170.9 kB / 418 MB, free: 8.945 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.04181, allocations: 88.89 kB / 418.1 MB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.04191, allocations: 48.44 kB / 418.2 MB, free: 8.809 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.04192, allocations: 4 kB / 418.2 MB, free: 8.805 MB / 394.7 MB Notification: Performance of Templates: time 0.01645/0.05836, allocations: 12.64 MB / 430.8 MB, free: 12.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.858740134863183]