Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001643/0.001643, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001201/0.001201, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2009/0.2009, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.129e-05, allocations: 6.25 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003681/0.003713, allocations: 1.729 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.005159, allocations: 0.8037 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.005245, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.005641, allocations: 43.72 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.00596, allocations: 51.75 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.006271, allocations: 91.7 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.006502, allocations: 103.6 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.006635, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.00677, allocations: 51.84 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.006879, allocations: 27.89 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.006905, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.007022, allocations: 43.92 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.007097, allocations: 19.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.007153, allocations: 19.92 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.007384, allocations: 103.5 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.007387, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.007389, allocations: 4 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.007396, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.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.0005295/0.007925, allocations: 439.9 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.00797, allocations: 12.03 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.008037, allocations: 8.891 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.008248, allocations: 144.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.008273, allocations: 384 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.008299, allocations: 12.27 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.00848, allocations: 62.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.008497, allocations: 3.938 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.008511, allocations: 8 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.008521, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.008582, allocations: 11.98 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.00897, allocations: 283.8 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.009129, allocations: 55.11 kB / 351.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.00917, allocations: 19.61 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.009186, allocations: 4 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.00932, allocations: 65.05 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.955e-06/0.009323, allocations: 4 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005399/0.009863, allocations: 157.3 kB / 352.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.009898, allocations: 59.34 kB / 352.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.01005, allocations: 220.1 kB / 352.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.01006, allocations: 25.7 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.01012, allocations: 154.9 kB / 352.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.01016, allocations: 27.75 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.0102, allocations: 31.36 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.01027, allocations: 0.4962 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.0103, allocations: 11.94 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.01034, allocations: 39.73 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.01039, allocations: 51.3 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.01039, allocations: 0 / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.759e-05/0.01049, allocations: 93.56 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.0105, allocations: 8 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01051, allocations: 0 / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01053, allocations: 0 / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.01061, allocations: 15.98 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01062, allocations: 7.938 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.01065, allocations: 4.031 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.01066, allocations: 8 kB / 353.3 MB, free: 3.527 MB / 282.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 6.132e-05/0.01072, allocations: 164.5 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.01073, allocations: 15.89 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.01088, allocations: 106.5 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01088, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01088, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01089, allocations: 4 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.01113, allocations: 385 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01114, allocations: 7.984 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.01117, allocations: 12.03 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01117, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.01118, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01118, allocations: 4 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01119, allocations: 0 / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.0113, allocations: 263.4 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.01131, allocations: 7.953 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01133, allocations: 3.984 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.01137, allocations: 4 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.01141, allocations: 15.92 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.01142, allocations: 4 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.01148, allocations: 168 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01148, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.01165, allocations: 27.88 kB / 354.5 MB, free: 2.273 MB / 282.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.0008882/0.01254, allocations: 436.9 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.01266, allocations: 55.55 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01266, allocations: 0 / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.0127, allocations: 31.67 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.01296, allocations: 36 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.01333, allocations: 221.6 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.01336, allocations: 63.34 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.648e-05/0.0134, allocations: 16.47 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.01343, allocations: 16.5 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01343, allocations: 0 / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.004273/0.01771, allocations: 1.988 MB / 357.4 MB, free: 15.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.365925425197929]