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.001825/0.001825, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002003/0.002003, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.547/1.547, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.413/0.413, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.954e-06/1.954e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.662e-05/3.857e-05, allocations: 3.859 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.007065/0.007104, allocations: 3.867 MB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.0116, allocations: 1.565 MB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.01308, allocations: 39.69 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.01394, allocations: 158.2 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.01511, allocations: 178.2 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.01701, allocations: 0.5927 MB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.01906, allocations: 1.05 MB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.01984, allocations: 283.7 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.02091, allocations: 0.5298 MB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.02141, allocations: 271 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.02164, allocations: 88 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.02182, allocations: 84 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.02207, allocations: 203.1 kB / 386.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.02244, allocations: 259.1 kB / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.02381, allocations: 1.043 MB / 387.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.02382, allocations: 4 kB / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02382, allocations: 0 / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.02383, allocations: 0 / 387.4 MB, free: 8.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.002374/0.02621, allocations: 1.236 MB / 388.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.02625, allocations: 8.031 kB / 388.6 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.02654, allocations: 172.2 kB / 388.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.02771, allocations: 0.6173 MB / 389.4 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.02776, allocations: 53.69 kB / 389.5 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.0279, allocations: 72.33 kB / 389.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.02955, allocations: 0.9638 MB / 390.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.02958, allocations: 7.938 kB / 390.5 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.02965, allocations: 24 kB / 390.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.02967, allocations: 19.98 kB / 390.5 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.03096, allocations: 0.5429 MB / 391.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.03469, allocations: 2.392 MB / 393.5 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.03624, allocations: 0.6585 MB / 394.1 MB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.03684, allocations: 263.3 kB / 394.4 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.0369, allocations: 19.94 kB / 394.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.03695, allocations: 42.5 kB / 394.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.094e-06/0.03695, allocations: 4 kB / 394.5 MB, free: 1.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002087/0.03904, allocations: 0.8082 MB / 395.3 MB, free: 460 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003344/0.03938, allocations: 350.1 kB / 395.6 MB, free: 28 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009031/0.04028, allocations: 0.6377 MB / 396.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.04034, allocations: 37.7 kB / 396.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.04077, allocations: 436.8 kB / 396.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.04098, allocations: 202.3 kB / 396.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.04118, allocations: 106.3 kB / 397 MB, free: 14.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.04136, allocations: 322 kB / 397.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.04196, allocations: 231.4 kB / 397.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008785/0.04284, allocations: 0.584 MB / 398.1 MB, free: 13.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.04407, allocations: 0.5583 MB / 398.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.04407, allocations: 3.938 kB / 398.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003034/0.04711, allocations: 1.056 MB / 399.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.04713, allocations: 4 kB / 399.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.04715, allocations: 4 kB / 399.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.04912, allocations: 383.3 kB / 400.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.04973, allocations: 127.8 kB / 400.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.06045, allocations: 6.752 MB / 407 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.06118, allocations: 79.62 kB / 407.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.06128, allocations: 20.08 kB / 407.1 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008098/0.06209, allocations: 353.4 kB / 407.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007833/0.06287, allocations: 0.5411 MB / 408 MB, free: 2.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009977/0.06387, allocations: 0.5006 MB / 408.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.06387, allocations: 0 / 408.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002024/0.0659, allocations: 0.7635 MB / 409.3 MB, free: 1.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.06592, allocations: 8.281 kB / 409.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.06593, allocations: 8 kB / 409.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/0.06674, allocations: 153.6 kB / 409.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.06764, allocations: 171.8 kB / 409.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/0.07214, allocations: 3.178 MB / 412.8 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.07292, allocations: 71.77 kB / 412.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.07301, allocations: 20 kB / 412.9 MB, free: 13.78 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.0003769/0.07339, allocations: 220.1 kB / 413.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.07372, allocations: 107.4 kB / 413.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.07397, allocations: 98.47 kB / 413.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.07397, allocations: 4 kB / 413.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.07398, allocations: 0 / 413.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.07399, allocations: 7.984 kB / 413.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.07519, allocations: 0.5281 MB / 413.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.0752, allocations: 4 kB / 413.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.07581, allocations: 103.9 kB / 413.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.07582, allocations: 7.938 kB / 413.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.07587, allocations: 15.98 kB / 414 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.07587, allocations: 7.938 kB / 414 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.07588, allocations: 0 / 414 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.07809, allocations: 1.226 MB / 415.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.07843, allocations: 135.2 kB / 415.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.07856, allocations: 12 kB / 415.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.07912, allocations: 43.95 kB / 415.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.07923, allocations: 35.88 kB / 415.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.07927, allocations: 16 kB / 415.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007205/0.07999, allocations: 443 kB / 415.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07999, allocations: 0 / 415.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001252/0.08125, allocations: 295.2 kB / 416.1 MB, free: 10.44 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.0001904/0.08144, allocations: 111.2 kB / 416.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004701/0.08614, allocations: 1.837 MB / 418.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.08614, allocations: 448 / 418.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.08678, allocations: 267.7 kB / 418.4 MB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.08818, allocations: 255.3 kB / 418.6 MB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.09135, allocations: 1.505 MB / 420.1 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.09188, allocations: 399.4 kB / 420.5 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.09231, allocations: 84.91 kB / 420.6 MB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.09249, allocations: 48.5 kB / 420.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.09249, allocations: 0 / 420.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of Templates: time 0.02377/0.1163, allocations: 12.45 MB / 433.1 MB, free: 9.504 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.833596550975926]