Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001111/0.001111, 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.000946/0.000946, 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 0.9075/0.9075, 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.1323/0.1323, allocations: 32.38 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.559e-05, allocations: 6.25 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002208/0.002233, allocations: 1.741 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.003185, allocations: 0.7959 MB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.003261, allocations: 0 / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.003631, allocations: 43.77 kB / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.003879, allocations: 63.69 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.004088, allocations: 79.7 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.004252, allocations: 99.69 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004357, allocations: 4.234 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.00445, allocations: 55.77 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.004536, allocations: 27.91 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.004558, allocations: 4 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.697e-05/0.004655, allocations: 47.91 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.004714, allocations: 19.92 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.004758, allocations: 11.94 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.004925, allocations: 107.6 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004927, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004928, allocations: 3.938 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.004933, 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.0003844/0.005317, allocations: 439.9 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.005354, allocations: 8.031 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.0054, allocations: 12.89 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.005545, allocations: 148.4 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.005563, allocations: 4.375 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.005591, allocations: 8.328 kB / 351.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005714, allocations: 62.94 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.005726, allocations: 3.938 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.005737, allocations: 4 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005744, allocations: 3.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.005779, allocations: 11.98 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.006048, allocations: 279.8 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.006166, allocations: 51.17 kB / 351.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.006201, allocations: 23.56 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006218, allocations: 0 / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.121e-05/0.006309, allocations: 73.05 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.00631, allocations: 0 / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004591/0.006769, allocations: 153.6 kB / 352.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.006793, allocations: 59.34 kB / 352.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.006893, allocations: 220.1 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.006901, allocations: 29.7 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.006937, allocations: 146.9 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.006966, allocations: 39.72 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.006996, allocations: 27.38 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.007052, allocations: 0.4962 MB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.007074, allocations: 12 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.007105, allocations: 39.3 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.007154, allocations: 55.36 kB / 353.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007155, allocations: 0 / 353.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.984e-05/0.007245, allocations: 89.58 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007257, allocations: 4 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.007262, allocations: 4 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007277, allocations: 0 / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.007347, allocations: 20.02 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007353, allocations: 0 / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.007381, allocations: 4 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007387, allocations: 4 kB / 353.3 MB, free: 3.543 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 5.916e-05/0.007447, allocations: 168.5 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.00746, allocations: 15.89 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.007602, allocations: 102.6 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007604, allocations: 0 / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.007608, allocations: 0 / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.007613, allocations: 11.91 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.007845, allocations: 385.1 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.007848, allocations: 3.984 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.007874, allocations: 19.94 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007877, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.007886, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007887, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007888, allocations: 4 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.00799, allocations: 259.4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.007999, allocations: 7.953 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.008016, allocations: 7.984 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.008054, allocations: 4.031 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.008087, allocations: 11.92 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.008099, allocations: 4 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.00815, allocations: 168 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00815, allocations: 0 / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.00832, allocations: 23.94 kB / 354.5 MB, free: 2.285 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.0008659/0.009186, allocations: 439.8 kB / 354.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.009293, allocations: 55.55 kB / 355 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009296, allocations: 4.062 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.009337, allocations: 39.59 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.0002401/0.009578, allocations: 32.19 kB / 355.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.009906, allocations: 217.4 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.009943, allocations: 63.34 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.248e-05/0.009975, allocations: 16.47 kB / 355.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.01001, allocations: 20.56 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01001, allocations: 4 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.003467/0.01347, allocations: 1.84 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.301975905895233]