Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001183/0.001183, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001292/0.001292, allocations: 165 kB / 23.79 MB, free: 0.7812 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 0.951/0.951, allocations: 158.6 MB / 185.6 MB, free: 2.922 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.1536/0.1536, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.756e-05/4.008e-05, allocations: 8.219 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003745/0.003785, allocations: 1.734 MB / 349.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.005222, allocations: 0.7959 MB / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.005332, allocations: 0 / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.005763, allocations: 47.7 kB / 350.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.006071, allocations: 51.77 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.006411, allocations: 91.69 kB / 350.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.006637, allocations: 95.69 kB / 350.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.006773, allocations: 12.16 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.006894, allocations: 51.84 kB / 350.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.006997, allocations: 27.91 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.007022, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.00714, allocations: 39.92 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.007206, allocations: 19.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.007258, allocations: 23.91 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.007522, allocations: 107.5 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.007529, allocations: 4 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.007531, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.007539, allocations: 0 / 350.8 MB, free: 6.262 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.0006085/0.008148, allocations: 447.9 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.008196, allocations: 8.031 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.008267, allocations: 12.84 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.008488, allocations: 149.8 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.008513, allocations: 4.375 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.008539, allocations: 384 / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.008721, allocations: 66.88 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.008736, allocations: 7.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.008749, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.00876, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.008814, allocations: 11.98 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.009228, allocations: 291.8 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.009388, allocations: 55.11 kB / 351.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.00943, allocations: 19.62 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.009448, allocations: 3.938 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.009582, allocations: 65.05 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 4.288e-06/0.009586, allocations: 7.984 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004539/0.01004, allocations: 157.7 kB / 352.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.01008, allocations: 55.41 kB / 352.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01022, allocations: 232 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01023, allocations: 29.7 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.0103, allocations: 150.9 kB / 352.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.01034, allocations: 31.73 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.01039, allocations: 27.38 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.01046, allocations: 0.4923 MB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.01049, allocations: 23.92 kB / 353.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.01052, allocations: 35.36 kB / 353.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.01058, allocations: 55.38 kB / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01058, allocations: 0 / 353.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001301/0.01071, allocations: 89.56 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01073, allocations: 7.984 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01074, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01076, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01087, allocations: 16 kB / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01088, allocations: 0 / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.01091, allocations: 8.031 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.01092, allocations: 7.984 kB / 353.4 MB, free: 3.512 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 9.157e-05/0.01102, allocations: 168.5 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.01103, allocations: 15.91 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.01122, allocations: 107.2 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01122, allocations: 4 kB / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01123, allocations: 0 / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01123, allocations: 0 / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.01156, allocations: 389 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01156, allocations: 4.031 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.0116, allocations: 8 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.0116, allocations: 4 kB / 354.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01162, allocations: 7.984 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01162, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01162, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.01175, allocations: 263.3 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.01177, allocations: 7.953 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01179, allocations: 4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.01183, allocations: 4 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.01188, allocations: 11.98 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.0119, allocations: 4 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.33e-05/0.01197, allocations: 175.8 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01197, allocations: 0 / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.01217, allocations: 23.94 kB / 354.5 MB, free: 2.246 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.001163/0.01333, allocations: 446.7 kB / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.0135, allocations: 55.53 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0135, allocations: 0 / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.01355, allocations: 35.73 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.01384, allocations: 36.16 kB / 355.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.01431, allocations: 217.1 kB / 355.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.01435, allocations: 71.33 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.0144, allocations: 16.47 kB / 355.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.01444, allocations: 20.5 kB / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01444, allocations: 0 / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Templates: time 0.004842/0.01928, allocations: 1.978 MB / 357.4 MB, free: 15.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.2114125760272145]