Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001019/0.001019, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009642/0.0009642, allocations: 161.2 kB / 24.91 MB, free: 9.203 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.9871/0.9871, allocations: 177 MB / 205.2 MB, free: 5.445 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.2593/0.2593, allocations: 34.85 MB / 296.6 MB, free: 0.5039 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.838e-05, allocations: 3.156 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003072/0.0031, allocations: 1.721 MB / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.004836, allocations: 0.9939 MB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.00491, allocations: 0 / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.005241, allocations: 59.73 kB / 328.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.005601, allocations: 115.4 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.0058, allocations: 71.61 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.005996, allocations: 104.4 kB / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.006043, allocations: 12.2 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.006163, allocations: 63.77 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.006264, allocations: 43.88 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.006283, allocations: 8 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.006362, allocations: 27.94 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.006417, allocations: 23.92 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.006457, allocations: 19.92 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.006638, allocations: 87.61 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.00664, allocations: 0 / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006641, allocations: 0 / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006645, allocations: 0 / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004391/0.007084, allocations: 313.6 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.007123, allocations: 8.031 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.007162, allocations: 16.92 kB / 329.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.007368, allocations: 146.3 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.007384, allocations: 384 / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.0074, allocations: 4.375 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.007533, allocations: 69.69 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.007543, allocations: 192 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.007551, allocations: 384 / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007559, allocations: 3.938 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.007589, allocations: 7.984 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.007698, allocations: 62.7 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.00781, allocations: 45.44 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.007835, allocations: 8.859 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.007847, allocations: 0 / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.007953, allocations: 66.14 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.007954, allocations: 0 / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001397/0.008094, allocations: 57.67 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.008133, allocations: 55.41 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.008285, allocations: 177.2 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.008302, allocations: 25.7 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.008339, allocations: 100.1 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.008376, allocations: 19.83 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.008411, allocations: 17.72 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.008514, allocations: 326.8 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.008537, allocations: 10.77 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.008564, allocations: 21.66 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.008619, allocations: 39.34 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008621, allocations: 0 / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001015/0.008723, allocations: 60.75 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.008735, allocations: 8.031 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.008742, allocations: 4 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.008756, allocations: 0 / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.008832, allocations: 15.98 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.008836, allocations: 0 / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.008879, allocations: 7.938 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.008887, allocations: 4 kB / 331 MB, free: 1.887 MB / 298.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 (7): * Single equations (assignments): 7 * 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 8.552e-05/0.008972, allocations: 119.1 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.008991, allocations: 7.984 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.009112, allocations: 66.83 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.009114, allocations: 4 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009116, allocations: 0 / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.009121, allocations: 3.938 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.00922, allocations: 77.88 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009221, allocations: 0 / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.009248, allocations: 4 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.009252, allocations: 4 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.00926, allocations: 3.984 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009261, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009262, allocations: 0 / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.00937, allocations: 98.62 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.00939, allocations: 15.91 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.009414, allocations: 4 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.009448, allocations: 0 / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.009476, allocations: 7.984 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.009489, allocations: 0 / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.7e-05/0.009556, allocations: 55.64 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009556, allocations: 0 / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.009766, allocations: 19.94 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001679/0.01145, allocations: 0.4918 MB / 332 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.01155, allocations: 40.72 kB / 332 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.01156, allocations: 4 kB / 332 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.0116, allocations: 12.86 kB / 332 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.01173, allocations: 31.91 kB / 332.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.01201, allocations: 199 kB / 332.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.01204, allocations: 63.34 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.01207, allocations: 24.52 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.01213, allocations: 63.38 kB / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01213, allocations: 0 / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of Templates: time 0.0033/0.01543, allocations: 1.761 MB / 334.2 MB, free: 14.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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: 2.997270771302283]