Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9718/0.9718, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.284/0.284, allocations: 32.81 MB / 294.3 MB, free: 1.297 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.288e-05, allocations: 6.25 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003038/0.003071, allocations: 1.96 MB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004679, allocations: 1.103 MB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.004788, allocations: 4 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.005218, allocations: 219.2 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.005644, allocations: 227 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.005909, allocations: 119.5 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.006194, allocations: 259.2 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.0063, allocations: 21.95 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.006457, allocations: 151.5 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.006611, allocations: 151.7 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.006635, allocations: 12 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.006749, allocations: 63.91 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.006817, allocations: 59.72 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.006873, allocations: 51.72 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.007113, allocations: 195.2 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007117, allocations: 0 / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 1.479e-05/0.007132, allocations: 4.047 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.007137, allocations: 0 / 380.7 MB, free: 15.99 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.0005627/0.0077, allocations: 0.604 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.007735, allocations: 8.031 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.007804, allocations: 36.73 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.008032, allocations: 228.5 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.008056, allocations: 4.375 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.00808, allocations: 12.31 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.008269, allocations: 114.3 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.008283, allocations: 7.891 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.008295, allocations: 4 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.008304, allocations: 4 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.008362, allocations: 35.91 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.008818, allocations: 0.5101 MB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.00908, allocations: 122.1 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.00913, allocations: 39.47 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.009145, allocations: 4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.009305, allocations: 116.3 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.009306, allocations: 4 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008621/0.01017, allocations: 465.1 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.01022, allocations: 85.05 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.0105, allocations: 402.3 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.01052, allocations: 33.64 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.01062, allocations: 219.3 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.01068, allocations: 71.41 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.01073, allocations: 47.36 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01087, allocations: 0.5274 MB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.01123, allocations: 35.98 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.0113, allocations: 80.03 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.01143, allocations: 118.9 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01143, allocations: 0 / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002288/0.01166, allocations: 209.2 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01168, allocations: 4 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01168, allocations: 4.062 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.0117, allocations: 4 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.01179, allocations: 43.91 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.0118, allocations: 7.938 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.01185, allocations: 11.94 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01186, allocations: 8 kB / 384.8 MB, free: 11.53 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.751e-05/0.01196, allocations: 172.5 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.01199, allocations: 43.77 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.01228, allocations: 233 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.01229, allocations: 8 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01229, allocations: 3.938 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0123, allocations: 0 / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.01289, allocations: 0.7528 MB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.01289, allocations: 4 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.01295, allocations: 27.98 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.01296, allocations: 4 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01297, allocations: 8 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.01297, allocations: 8.062 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.01298, allocations: 4 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.0133, allocations: 0.5123 MB / 386.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.01333, allocations: 27.77 kB / 386.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.01336, allocations: 15.94 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.01344, allocations: 11.98 kB / 386.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.01349, allocations: 15.97 kB / 386.7 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.01352, allocations: 12 kB / 386.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.01369, allocations: 278.9 kB / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01369, allocations: 0 / 387 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000267/0.01395, allocations: 55.92 kB / 387 MB, free: 9.238 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.001087/0.01504, allocations: 497.1 kB / 387.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.01529, allocations: 135.3 kB / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01529, allocations: 0 / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.01538, allocations: 79.52 kB / 387.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.01576, allocations: 57.45 kB / 387.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.01637, allocations: 0.4895 MB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.624e-05/0.01644, allocations: 104.3 kB / 388.4 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.009e-05/0.01651, allocations: 38.3 kB / 388.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.01656, allocations: 32.48 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01656, allocations: 0 / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of Templates: time 0.006306/0.02287, allocations: 3.619 MB / 392.1 MB, free: 4.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.980250114109367]