Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.051/1.051, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1653/0.1653, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.42e-05, allocations: 4.281 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.002998/0.003012, allocations: 3.931 MB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.004857, allocations: 1.577 MB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.005201, allocations: 47.69 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.005456, allocations: 162.2 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.0057, allocations: 178.2 kB / 385.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.006384, allocations: 0.5888 MB / 386.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007523/0.007136, allocations: 1.042 MB / 387.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.00754, allocations: 295.6 kB / 387.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.008011, allocations: 0.5259 MB / 388.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.008259, allocations: 271 kB / 388.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.008361, allocations: 84 kB / 388.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.008448, allocations: 88 kB / 388.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.008558, allocations: 199.1 kB / 388.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.008733, allocations: 263.1 kB / 389.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.009306, allocations: 0.6651 MB / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009309, allocations: 0 / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00931, allocations: 0 / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.009319, allocations: 0 / 389.9 MB, free: 12.82 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.001303/0.01062, allocations: 1.324 MB / 391.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.01066, allocations: 8.031 kB / 391.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.01086, allocations: 176.2 kB / 391.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.01155, allocations: 0.6122 MB / 392 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.01159, allocations: 45.69 kB / 392 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.01168, allocations: 72.33 kB / 392.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.01239, allocations: 0.8325 MB / 392.9 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.01241, allocations: 7.938 kB / 392.9 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.01246, allocations: 24 kB / 393 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.01247, allocations: 16 kB / 393 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.01278, allocations: 193.5 kB / 393.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.01485, allocations: 2.81 MB / 396 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.01537, allocations: 381 kB / 396.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.01551, allocations: 118.8 kB / 396.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.01555, allocations: 11.94 kB / 396.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.01558, allocations: 53.33 kB / 396.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.01558, allocations: 0 / 396.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007056/0.01629, allocations: 406.9 kB / 396.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.01636, allocations: 346.1 kB / 397.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.01682, allocations: 0.6396 MB / 397.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.01685, allocations: 37.7 kB / 397.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.0171, allocations: 487.4 kB / 398.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.01721, allocations: 198.3 kB / 398.6 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.01735, allocations: 111.9 kB / 398.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.01741, allocations: 0.4964 MB / 399.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.01752, allocations: 66.27 kB / 399.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.01777, allocations: 489.4 kB / 399.8 MB, free: 2.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.0181, allocations: 313.1 kB / 400.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.0181, allocations: 0 / 400.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001129/0.01923, allocations: 0.6362 MB / 400.7 MB, free: 1.266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01925, allocations: 12.03 kB / 400.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01926, allocations: 0 / 400.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/0.02006, allocations: 254.5 kB / 401 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.02044, allocations: 123.8 kB / 401.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.02602, allocations: 7.641 MB / 408.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.02635, allocations: 79.53 kB / 408.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.02638, allocations: 20.03 kB / 408.8 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000265/0.02665, allocations: 192.1 kB / 409 MB, free: 8.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003678/0.02702, allocations: 485.5 kB / 409.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000451/0.02747, allocations: 305.8 kB / 409.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.02747, allocations: 3.938 kB / 409.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.000887/0.02836, allocations: 485.6 kB / 410.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.02837, allocations: 9.719 kB / 410.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.02838, allocations: 8.281 kB / 410.3 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.02872, allocations: 111.2 kB / 410.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.02921, allocations: 163.8 kB / 410.5 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.03153, allocations: 3.76 MB / 414.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.03184, allocations: 67.64 kB / 414.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.03187, allocations: 12 kB / 414.4 MB, free: 2.664 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.0002137/0.03208, allocations: 319.9 kB / 414.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.03226, allocations: 103.4 kB / 414.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.03238, allocations: 90.66 kB / 414.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.03238, allocations: 8 kB / 414.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.03239, allocations: 4 kB / 414.9 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.0324, allocations: 3.984 kB / 414.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.03311, allocations: 416.5 kB / 415.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.03311, allocations: 0 / 415.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.03348, allocations: 107.8 kB / 415.4 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.03348, allocations: 4 kB / 415.4 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.03351, allocations: 12 kB / 415.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.03351, allocations: 0 / 415.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.03351, allocations: 4 kB / 415.4 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.03434, allocations: 0.9185 MB / 416.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.03453, allocations: 139.2 kB / 416.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.0346, allocations: 8 kB / 416.5 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.03498, allocations: 43.91 kB / 416.5 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.03506, allocations: 35.94 kB / 416.6 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.03508, allocations: 8 kB / 416.6 MB, free: 412 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.03541, allocations: 398.8 kB / 417 MB, free: 20 kB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03541, allocations: 0 / 417 MB, free: 20 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009712/0.03638, allocations: 295.2 kB / 417.3 MB, free: 15.73 MB / 346.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.0001423/0.03652, allocations: 114.8 kB / 417.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.03866, allocations: 1.723 MB / 419.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.03866, allocations: 8.5 kB / 419.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.03889, allocations: 142.5 kB / 419.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.04001, allocations: 237 kB / 419.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.04163, allocations: 1.374 MB / 420.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.04176, allocations: 166.9 kB / 421 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.042, allocations: 80.92 kB / 421.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.04238, allocations: 270 kB / 421.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.04238, allocations: 0 / 421.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of Templates: time 0.01651/0.05889, allocations: 13.78 MB / 435.1 MB, free: 13.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.7843959499150515]