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.001197/0.001197, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001225/0.001225, allocations: 165 kB / 24.99 MB, free: 8.219 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 0.9492/0.9492, allocations: 177 MB / 205.2 MB, free: 5.582 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.2404/0.2404, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.122e-06/1.122e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.156e-05, allocations: 2.312 kB / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003474/0.003486, allocations: 3.983 MB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.00537, allocations: 1.581 MB / 384.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.005648, allocations: 47.62 kB / 384.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.005888, allocations: 162.2 kB / 384.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.006139, allocations: 178.2 kB / 384.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.006817, allocations: 0.5966 MB / 385.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.007457, allocations: 1.046 MB / 386.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.007786, allocations: 291.6 kB / 386.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.008141, allocations: 0.5221 MB / 387.1 MB, free: 9.977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.008336, allocations: 266.9 kB / 387.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.008412, allocations: 84 kB / 387.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.17e-05/0.008474, allocations: 88 kB / 387.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.008621, allocations: 203.1 kB / 387.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.008776, allocations: 255.1 kB / 388 MB, free: 9.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.00925, allocations: 0.6612 MB / 388.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.009252, allocations: 0 / 388.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009253, allocations: 8 kB / 388.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.009258, allocations: 0 / 388.7 MB, free: 8.426 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.001054/0.01031, allocations: 1.312 MB / 390 MB, free: 7.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.01034, allocations: 8.031 kB / 390 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.01048, allocations: 172.2 kB / 390.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.01102, allocations: 0.6277 MB / 390.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.01106, allocations: 49.67 kB / 390.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.01113, allocations: 72.33 kB / 390.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/0.01195, allocations: 0.8661 MB / 391.8 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01196, allocations: 4 kB / 391.8 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.012, allocations: 32 kB / 391.8 MB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01201, allocations: 16 kB / 391.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.01236, allocations: 236.6 kB / 392.1 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.0142, allocations: 2.911 MB / 395 MB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.01469, allocations: 409 kB / 395.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.01486, allocations: 142.9 kB / 395.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.01489, allocations: 15.94 kB / 395.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.01492, allocations: 45.33 kB / 395.6 MB, free: 1.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.492e-06/0.01492, allocations: 0 / 395.6 MB, free: 1.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007758/0.01569, allocations: 452.2 kB / 396 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.01579, allocations: 346.1 kB / 396.4 MB, free: 284 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.01623, allocations: 0.6517 MB / 397 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.01626, allocations: 37.7 kB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.01648, allocations: 487.5 kB / 397.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.01657, allocations: 186.3 kB / 397.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.01667, allocations: 115.9 kB / 397.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.01678, allocations: 0.4965 MB / 398.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.01692, allocations: 90.25 kB / 398.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.0172, allocations: 0.4936 MB / 398.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.01756, allocations: 337.2 kB / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01756, allocations: 3.938 kB / 399.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001001/0.01856, allocations: 0.6678 MB / 399.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01858, allocations: 11.94 kB / 399.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.01858, allocations: 7.984 kB / 399.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.01923, allocations: 266.7 kB / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.0195, allocations: 115.9 kB / 400.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.02339, allocations: 7.783 MB / 408.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.02358, allocations: 63.61 kB / 408.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.0236, allocations: 23.98 kB / 408.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000216/0.02382, allocations: 220.1 kB / 408.4 MB, free: 3.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002694/0.02409, allocations: 497.5 kB / 408.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003275/0.02441, allocations: 336.7 kB / 409.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.02441, allocations: 0 / 409.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006147/0.02503, allocations: 0.5259 MB / 409.7 MB, free: 1.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.02504, allocations: 8 kB / 409.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.02504, allocations: 0 / 409.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.0253, allocations: 115.7 kB / 409.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.02586, allocations: 175.8 kB / 410 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.02753, allocations: 3.833 MB / 413.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.02772, allocations: 63.7 kB / 413.9 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.02774, allocations: 16 kB / 413.9 MB, free: 13.5 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.0001247/0.02786, allocations: 311.9 kB / 414.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.02797, allocations: 107.4 kB / 414.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-05/0.02805, allocations: 94.47 kB / 414.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02805, allocations: 8 kB / 414.4 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.02806, allocations: 0 / 414.4 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.02806, allocations: 3.984 kB / 414.4 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.02855, allocations: 0.5 MB / 414.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02855, allocations: 0 / 414.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.02881, allocations: 95.89 kB / 415 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.02881, allocations: 7.938 kB / 415 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.02884, allocations: 19.98 kB / 415 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.02884, allocations: 4 kB / 415.1 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02884, allocations: 3.938 kB / 415.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.02956, allocations: 0.9605 MB / 416 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.0297, allocations: 139.2 kB / 416.2 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.02974, allocations: 19.92 kB / 416.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.02996, allocations: 27.98 kB / 416.2 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.03002, allocations: 35.92 kB / 416.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.03004, allocations: 24.06 kB / 416.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002794/0.03031, allocations: 422.9 kB / 416.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03032, allocations: 3.938 kB / 416.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005284/0.03084, allocations: 299.1 kB / 417 MB, free: 10.38 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 8.559e-05/0.03093, allocations: 103.2 kB / 417.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.03273, allocations: 1.772 MB / 418.8 MB, free: 8.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03273, allocations: 4 kB / 418.8 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.03291, allocations: 152.4 kB / 419 MB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.03363, allocations: 252.2 kB / 419.2 MB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.03493, allocations: 1.381 MB / 420.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03503, allocations: 166.9 kB / 420.8 MB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.03522, allocations: 88.89 kB / 420.9 MB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.03532, allocations: 44.5 kB / 420.9 MB, free: 6.246 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.03532, allocations: 0 / 420.9 MB, free: 6.246 MB / 394.7 MB Notification: Performance of Templates: time 0.01368/0.049, allocations: 12.63 MB / 433.5 MB, free: 9.77 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.568795975064859]