Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001195/0.001195, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001196/0.001196, allocations: 156.5 kB / 24.55 MB, free: 12 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.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.594 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.2702/0.2702, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.001e-05, allocations: 7.016 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002429/0.002459, allocations: 1.936 MB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.003936, allocations: 1.114 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.004095, allocations: 7.938 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.004552, allocations: 223.2 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.005032, allocations: 223 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.005317, allocations: 115.6 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.005611, allocations: 271.2 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005716, allocations: 13.97 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.005893, allocations: 147.6 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.006059, allocations: 159.6 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.006082, allocations: 8 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.006196, allocations: 67.92 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.006271, allocations: 63.75 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.006329, allocations: 43.8 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.006586, allocations: 203.1 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.00659, allocations: 0 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006591, allocations: 0 / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.006597, allocations: 0 / 383.4 MB, free: 13.4 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006142/0.007211, allocations: 0.6002 MB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.00725, allocations: 12.03 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.007321, allocations: 32.75 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.007561, allocations: 224.6 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.007581, allocations: 4.375 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.007609, allocations: 16.36 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.007799, allocations: 118.2 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.007812, allocations: 4.141 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.007824, allocations: 8.297 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.007834, allocations: 7.938 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.007893, allocations: 35.95 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.008383, allocations: 0.5062 MB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.008651, allocations: 118.2 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.008699, allocations: 39.42 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.008713, allocations: 11.88 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.008859, allocations: 120.5 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.008861, allocations: 0 / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008367/0.009698, allocations: 465.5 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.009741, allocations: 81.11 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.01005, allocations: 402.3 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.01008, allocations: 33.7 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.01019, allocations: 215.3 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.01024, allocations: 67.44 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.0103, allocations: 51.36 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01044, allocations: 0.5273 MB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.0105, allocations: 31.98 kB / 387.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.01057, allocations: 80.89 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.01071, allocations: 130.8 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01071, allocations: 0 / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002289/0.01094, allocations: 205.2 kB / 387.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01095, allocations: 4 kB / 387.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01096, allocations: 4 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01097, allocations: 0 / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.01107, allocations: 43.92 kB / 387.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01108, allocations: 0 / 387.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.01113, allocations: 19.98 kB / 387.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.01114, allocations: 12 kB / 387.6 MB, free: 8.934 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 prepare postOptimizeDAE: time 9.435e-05/0.01123, allocations: 172.5 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.01127, allocations: 39.75 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.01155, allocations: 232.7 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01156, allocations: 3.984 kB / 388 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01156, allocations: 4 kB / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01157, allocations: 0 / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.01218, allocations: 0.7528 MB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01218, allocations: 7.938 kB / 388.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.01225, allocations: 35.86 kB / 388.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01225, allocations: 4 kB / 388.9 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.01227, allocations: 11.98 kB / 388.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01227, allocations: 4 kB / 388.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01228, allocations: 0 / 388.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.01258, allocations: 0.5104 MB / 389.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.0126, allocations: 31.89 kB / 389.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.01264, allocations: 15.98 kB / 389.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.01271, allocations: 8 kB / 389.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.01276, allocations: 23.95 kB / 389.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.01278, allocations: 8 kB / 389.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01294, allocations: 279 kB / 389.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01294, allocations: 0 / 389.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.01319, allocations: 51.94 kB / 389.8 MB, free: 6.645 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001035/0.01422, allocations: 488.1 kB / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01445, allocations: 127.4 kB / 390.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01445, allocations: 0 / 390.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.01453, allocations: 75.53 kB / 390.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.01493, allocations: 63.25 kB / 390.5 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.01556, allocations: 0.4977 MB / 391 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.476e-05/0.01563, allocations: 100.3 kB / 391.1 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.0157, allocations: 49.84 kB / 391.2 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.01576, allocations: 28.5 kB / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01576, allocations: 0 / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of Templates: time 0.006071/0.02183, allocations: 3.613 MB / 394.8 MB, free: 1.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.2733294921927154]