Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001114/0.001114, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00129/0.00129, allocations: 160.5 kB / 24.55 MB, free: 20 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.041/1.041, allocations: 177 MB / 204.8 MB, free: 5.586 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.3029/0.3029, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.742e-05, allocations: 4.422 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002874/0.002901, allocations: 1.758 MB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004162, allocations: 1.02 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.004254, allocations: 3.938 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.004639, allocations: 47.75 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.004988, allocations: 107.5 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.005176, allocations: 79.61 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.005356, allocations: 111.6 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.005461, allocations: 11.98 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.005553, allocations: 55.83 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.005629, allocations: 19.92 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.005646, allocations: 4 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.00573, allocations: 47.91 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.005786, allocations: 31.86 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.005829, allocations: 19.92 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.006014, allocations: 119.5 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006017, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006018, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.006022, allocations: 0 / 382.3 MB, free: 14.59 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.0004833/0.006505, allocations: 479.6 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.00655, allocations: 12.03 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.006604, allocations: 16.84 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.006786, allocations: 169.2 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.006805, allocations: 384 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.006829, allocations: 8.375 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.006952, allocations: 62.94 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006961, allocations: 192 / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.006972, allocations: 4.375 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006981, allocations: 7.938 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.007017, allocations: 15.97 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.007335, allocations: 295.8 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.007441, allocations: 55.11 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.007471, allocations: 15.69 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.007486, allocations: 4 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/0.007585, allocations: 72.92 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.007586, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003951/0.007981, allocations: 173.2 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.008016, allocations: 51.41 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.008191, allocations: 273.6 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008205, allocations: 25.7 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.008289, allocations: 170.9 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.008321, allocations: 35.7 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.008351, allocations: 27.38 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.008478, allocations: 0.5001 MB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.008505, allocations: 15.98 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.008543, allocations: 35.3 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.008601, allocations: 47.38 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.008602, allocations: 0 / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.008716, allocations: 97.47 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.00873, allocations: 7.984 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008735, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.008749, allocations: 4.031 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.00882, allocations: 19.94 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008825, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.008854, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.008862, allocations: 7.984 kB / 384.9 MB, free: 11.69 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.461e-05/0.008937, allocations: 156.6 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.008957, allocations: 23.84 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.009115, allocations: 111 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.009118, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009122, allocations: 384 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009125, allocations: 8 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.009452, allocations: 405 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.009456, allocations: 4 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.009482, allocations: 12 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009484, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.009494, allocations: 3.984 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.009497, allocations: 4 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009498, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.009656, allocations: 259.4 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.00967, allocations: 19.84 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.009687, allocations: 8.031 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.009729, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.009765, allocations: 7.984 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.00978, allocations: 11.94 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.422e-05/0.009874, allocations: 192.5 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009874, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.01005, allocations: 31.92 kB / 386.2 MB, free: 10.37 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.0009365/0.01099, allocations: 428.9 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.0111, allocations: 59.53 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01111, allocations: 0 / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01115, allocations: 31.67 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01138, allocations: 31.34 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.01175, allocations: 266.4 kB / 387 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.551e-05/0.0118, allocations: 75.33 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.737e-05/0.01184, allocations: 29.38 kB / 387.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.01187, allocations: 16.5 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01187, allocations: 4 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of Templates: time 0.003741/0.01561, allocations: 1.874 MB / 389 MB, free: 7.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.527220157906413]