Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.0009541/0.0009541, allocations: 87.67 kB / 21.7 MB, free: 2.844 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.001067/0.001067, allocations: 160.6 kB / 24.99 MB, free: 8.742 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.014/1.014, 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.2566/0.2566, allocations: 34.87 MB / 296.6 MB, free: 0.5781 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.134e-05, allocations: 2.875 kB / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002464/0.002496, allocations: 1.76 MB / 380.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004142, allocations: 1.737 MB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.004219, allocations: 4 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.004489, allocations: 31.78 kB / 382.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.004789, allocations: 103.5 kB / 382.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.004933, allocations: 79.59 kB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.005082, allocations: 111.6 kB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.005171, allocations: 8 kB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.005253, allocations: 63.77 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.005349, allocations: 31.89 kB / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.005366, allocations: 4 kB / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.005498, allocations: 103.8 kB / 382.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.005545, allocations: 27.91 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.005584, allocations: 15.94 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.005824, allocations: 171.4 kB / 383.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005827, allocations: 0 / 383.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005828, allocations: 0 / 383.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005832, allocations: 0 / 383.1 MB, free: 14.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004537/0.006285, allocations: 451.8 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.00632, allocations: 8.031 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.00637, allocations: 8.891 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006552, allocations: 160.9 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.006577, allocations: 16.36 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.006596, allocations: 384 / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.006745, allocations: 108 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.006757, allocations: 7.891 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.006766, allocations: 0 / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.006774, allocations: 0 / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.006811, allocations: 15.98 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.007102, allocations: 279.8 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.007203, allocations: 47.17 kB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.007234, allocations: 27.62 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.007245, allocations: 0 / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.007346, allocations: 76.97 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.007347, allocations: 0 / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003806/0.007728, allocations: 149.3 kB / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.007767, allocations: 81.11 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007903, allocations: 215.3 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007916, allocations: 25.7 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.007966, allocations: 146.9 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.00799, allocations: 23.8 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.008023, allocations: 35.36 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.008131, allocations: 0.4923 MB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.008156, allocations: 12 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.008204, allocations: 72.69 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.008265, allocations: 59.22 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008266, allocations: 0 / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001069/0.008373, allocations: 85.59 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.008385, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00839, allocations: 64 / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008402, allocations: 11.94 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.008472, allocations: 20.3 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.008481, allocations: 0 / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.008514, allocations: 8 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.00852, allocations: 4 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.055e-05/0.00859, allocations: 164.5 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.008608, allocations: 15.94 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.008757, allocations: 102.4 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008759, allocations: 0 / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008761, allocations: 4 kB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008765, allocations: 0 / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.009059, allocations: 396.9 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.00906, allocations: 0 / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.009088, allocations: 8 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.00909, allocations: 0 / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.0091, allocations: 7.984 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009102, allocations: 3.938 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009104, allocations: 0 / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.009252, allocations: 259.4 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.009264, allocations: 11.98 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.009281, allocations: 0 / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/0.009327, allocations: 4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.00936, allocations: 15.97 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.009373, allocations: 4 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.009451, allocations: 165.5 kB / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009451, allocations: 0 / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.009655, allocations: 47.86 kB / 386.9 MB, free: 9.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001119/0.01077, allocations: 0.5354 MB / 387.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.0109, allocations: 59.59 kB / 387.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.0109, allocations: 0 / 387.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.01094, allocations: 39.59 kB / 387.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01117, allocations: 31.97 kB / 387.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.01151, allocations: 194 kB / 387.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.01155, allocations: 67.33 kB / 387.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.01159, allocations: 8.984 kB / 387.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.01163, allocations: 32.61 kB / 387.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01163, allocations: 0 / 387.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of Templates: time 0.004053/0.01568, allocations: 2.527 MB / 390.4 MB, free: 6.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.1455772158224136]