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.001034/0.001034, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009978/0.0009978, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9867/0.9867, allocations: 177 MB / 204.8 MB, free: 5.562 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.2874/0.2874, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.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.744e-06/1.744e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.761e-05, allocations: 4.281 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003931/0.003959, allocations: 3.997 MB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.006734, allocations: 1.577 MB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.007357, allocations: 47.62 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.007679, allocations: 166.2 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.007961, allocations: 174.2 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.008937, allocations: 0.5927 MB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007711/0.009708, allocations: 1.042 MB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.01012, allocations: 287.6 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/0.01063, allocations: 0.5298 MB / 387.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.01084, allocations: 267 kB / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.01092, allocations: 84 kB / 387.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.01099, allocations: 88 kB / 387.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.0111, allocations: 199.1 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.01126, allocations: 267.1 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.01179, allocations: 0.6573 MB / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01179, allocations: 0 / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01179, allocations: 0 / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.0118, allocations: 0 / 388.7 MB, free: 8.066 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.001218/0.01302, allocations: 1.32 MB / 390 MB, free: 6.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.01307, allocations: 8.031 kB / 390 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.01322, allocations: 172.2 kB / 390.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.01382, allocations: 0.6239 MB / 390.8 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.01385, allocations: 49.69 kB / 390.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.01393, allocations: 72.33 kB / 390.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.01469, allocations: 0.8622 MB / 391.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.0147, allocations: 0 / 391.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.01474, allocations: 28 kB / 391.8 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01475, allocations: 16 kB / 391.8 MB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.0151, allocations: 244.6 kB / 392.1 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.01727, allocations: 2.915 MB / 395 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.01782, allocations: 413.2 kB / 395.4 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.018, allocations: 145.1 kB / 395.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.01804, allocations: 15.92 kB / 395.6 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.01807, allocations: 45.33 kB / 395.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.524e-06/0.01808, allocations: 0 / 395.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.00069/0.01877, allocations: 447.8 kB / 396 MB, free: 340 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.0189, allocations: 354.1 kB / 396.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.01936, allocations: 0.644 MB / 397 MB, free: 15.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.0194, allocations: 37.7 kB / 397.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.01963, allocations: 483.5 kB / 397.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.01972, allocations: 190.3 kB / 397.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01984, allocations: 123.9 kB / 397.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01997, allocations: 0.4926 MB / 398.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.02012, allocations: 86.25 kB / 398.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.02044, allocations: 0.4975 MB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.02081, allocations: 339.1 kB / 399.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.02082, allocations: 3.938 kB / 399.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001012/0.02183, allocations: 0.673 MB / 399.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.02185, allocations: 4 kB / 399.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.02186, allocations: 4 kB / 399.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/0.02256, allocations: 266.7 kB / 400.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.02284, allocations: 119.9 kB / 400.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.0277, allocations: 7.779 MB / 408.1 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.02804, allocations: 71.59 kB / 408.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.02807, allocations: 24 kB / 408.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002881/0.02835, allocations: 212.1 kB / 408.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003045/0.02866, allocations: 0.4936 MB / 408.9 MB, free: 2.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003546/0.02901, allocations: 332.5 kB / 409.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.02902, allocations: 3.938 kB / 409.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006585/0.02967, allocations: 0.5267 MB / 409.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.02969, allocations: 8 kB / 409.8 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02969, allocations: 4 kB / 409.8 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.02997, allocations: 111.5 kB / 409.9 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.03031, allocations: 171.8 kB / 410 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.03218, allocations: 3.833 MB / 413.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.03246, allocations: 59.72 kB / 413.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.03248, allocations: 20 kB / 413.9 MB, free: 13.13 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.000212/0.03269, allocations: 307.9 kB / 414.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.03282, allocations: 115.3 kB / 414.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.03291, allocations: 90.52 kB / 414.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.03292, allocations: 8 kB / 414.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.03292, allocations: 3.984 kB / 414.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.03293, allocations: 0 / 414.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.03353, allocations: 0.504 MB / 415 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.03353, allocations: 0 / 415 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.03379, allocations: 95.88 kB / 415.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.03379, allocations: 7.938 kB / 415.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.03381, allocations: 12 kB / 415.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.03382, allocations: 4 kB / 415.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03382, allocations: 4 kB / 415.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.03453, allocations: 0.9688 MB / 416.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.03468, allocations: 139.2 kB / 416.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.03471, allocations: 12 kB / 416.2 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.03493, allocations: 35.97 kB / 416.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.035, allocations: 31.94 kB / 416.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.03501, allocations: 12 kB / 416.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000278/0.03529, allocations: 430.9 kB / 416.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03529, allocations: 4 kB / 416.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006394/0.03593, allocations: 295.1 kB / 417 MB, free: 10.02 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.0001098/0.03604, allocations: 111.1 kB / 417.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.03777, allocations: 1.773 MB / 418.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.03778, allocations: 0 / 418.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.03796, allocations: 152.4 kB / 419 MB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.03874, allocations: 252.1 kB / 419.3 MB, free: 7.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.04028, allocations: 1.385 MB / 420.7 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.0404, allocations: 170.9 kB / 420.8 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.04061, allocations: 80.92 kB / 420.9 MB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.04073, allocations: 48.5 kB / 420.9 MB, free: 5.879 MB / 394.7 MB Notification: Performance of SimCode: time 1.542e-06/0.04073, allocations: 0 / 420.9 MB, free: 5.879 MB / 394.7 MB Notification: Performance of Templates: time 0.01436/0.05509, allocations: 12.63 MB / 433.6 MB, free: 9.406 MB / 410.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.897682322189212]