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.001358/0.001358, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001199/0.001199, allocations: 171.9 kB / 24.91 MB, free: 8.773 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.9481/0.9481, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2533/0.2533, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.553e-06/1.553e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.184e-05, allocations: 2.969 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004415/0.004447, allocations: 3.936 MB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.007082, allocations: 1.635 MB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.007428, allocations: 51.62 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.007692, allocations: 154.3 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.007944, allocations: 174.2 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.008739, allocations: 0.6005 MB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007065/0.009445, allocations: 1.043 MB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.009783, allocations: 299.6 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.01014, allocations: 0.5221 MB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.01033, allocations: 270.9 kB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.01041, allocations: 88 kB / 332 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.01047, allocations: 84 kB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.01057, allocations: 207.1 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.0107, allocations: 251.1 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.01117, allocations: 0.6728 MB / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.01117, allocations: 0 / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01117, allocations: 0 / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.01118, allocations: 0 / 333.2 MB, free: 15.71 MB / 314.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.001028/0.0122, allocations: 1.204 MB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.01223, allocations: 12.03 kB / 334.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.01234, allocations: 124.8 kB / 334.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.01285, allocations: 0.5133 MB / 335 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.01288, allocations: 45.69 kB / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.01294, allocations: 72.38 kB / 335.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.01349, allocations: 0.7844 MB / 335.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.0135, allocations: 0 / 335.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.01353, allocations: 28 kB / 335.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01354, allocations: 19.94 kB / 336 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.01373, allocations: 166.2 kB / 336.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.01523, allocations: 1.969 MB / 338.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.01556, allocations: 310.8 kB / 338.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.01566, allocations: 109 kB / 338.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.01569, allocations: 15.98 kB / 338.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.01572, allocations: 42.56 kB / 338.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 1.653e-06/0.01572, allocations: 0 / 338.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0003851/0.0161, allocations: 310.5 kB / 338.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.0162, allocations: 346.1 kB / 339.2 MB, free: 9.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.01651, allocations: 0.5857 MB / 339.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.01654, allocations: 37.7 kB / 339.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01668, allocations: 322.6 kB / 340.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.01676, allocations: 190.3 kB / 340.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.01685, allocations: 106.2 kB / 340.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.01693, allocations: 337.9 kB / 340.7 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.01716, allocations: 59.45 kB / 340.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01736, allocations: 426 kB / 341.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.01759, allocations: 274.8 kB / 341.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01759, allocations: 0 / 341.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006809/0.01827, allocations: 0.5228 MB / 342 MB, free: 6.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01829, allocations: 8.031 kB / 342 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.0183, allocations: 4 kB / 342 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.01883, allocations: 235.2 kB / 342.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.01907, allocations: 123.8 kB / 342.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.0219, allocations: 5.36 MB / 347.7 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.0221, allocations: 63.64 kB / 347.8 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.02212, allocations: 20.06 kB / 347.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001733/0.0223, allocations: 141.4 kB / 348 MB, free: 15.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002077/0.0225, allocations: 426 kB / 348.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000214/0.02272, allocations: 268.4 kB / 348.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.02272, allocations: 0 / 348.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004058/0.02312, allocations: 389.5 kB / 349 MB, free: 14.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.02313, allocations: 4.281 kB / 349 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.02314, allocations: 8 kB / 349 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.02336, allocations: 105.6 kB / 349.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.02368, allocations: 163.8 kB / 349.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.02499, allocations: 2.635 MB / 351.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.02519, allocations: 67.64 kB / 352 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.02521, allocations: 12 kB / 352 MB, free: 11.59 MB / 330.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.0001479/0.02535, allocations: 212.3 kB / 352.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.02545, allocations: 75.86 kB / 352.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/0.02554, allocations: 94.47 kB / 352.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02554, allocations: 4 kB / 352.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.02555, allocations: 4 kB / 352.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02555, allocations: 0 / 352.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.02603, allocations: 385.2 kB / 352.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02603, allocations: 0 / 352.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.02626, allocations: 103.8 kB / 352.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.02626, allocations: 0 / 352.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.02628, allocations: 19.92 kB / 352.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02628, allocations: 4 kB / 352.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02629, allocations: 0 / 352.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.02674, allocations: 0.6658 MB / 353.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.02685, allocations: 87.3 kB / 353.6 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.02689, allocations: 19.94 kB / 353.7 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.02708, allocations: 27.98 kB / 353.7 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.02715, allocations: 39.92 kB / 353.7 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.02716, allocations: 12 kB / 353.7 MB, free: 9.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.02736, allocations: 280.5 kB / 354 MB, free: 9.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02736, allocations: 0 / 354 MB, free: 9.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006385/0.028, allocations: 291.2 kB / 354.3 MB, free: 9.246 MB / 330.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.0001177/0.02812, allocations: 97.33 kB / 354.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.02963, allocations: 1.376 MB / 355.8 MB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.02964, allocations: 8.562 kB / 355.8 MB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.02976, allocations: 123.4 kB / 355.9 MB, free: 7.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.03043, allocations: 250.8 kB / 356.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.03183, allocations: 1.354 MB / 357.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.03195, allocations: 174.7 kB / 357.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.03217, allocations: 84.91 kB / 357.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.0325, allocations: 229.1 kB / 358 MB, free: 5.426 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.0325, allocations: 0 / 358 MB, free: 5.426 MB / 330.7 MB Notification: Performance of Templates: time 0.01633/0.04884, allocations: 13.36 MB / 371.3 MB, free: 8.297 MB / 346.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.3344405661337078]