Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.001172/0.001172, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.0009706/0.0009706, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9285/0.9285, allocations: 158.6 MB / 185.7 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.1376/0.1376, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.927e-05, allocations: 6.25 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003268/0.003298, allocations: 1.74 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004552, allocations: 0.8037 MB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.004661, allocations: 0 / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.005076, allocations: 43.75 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.00537, allocations: 51.77 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.005696, allocations: 95.62 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.005909, allocations: 91.7 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.006033, allocations: 12.22 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.006145, allocations: 51.77 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.006246, allocations: 23.92 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.006271, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.006384, allocations: 47.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.006454, allocations: 23.92 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.006518, allocations: 19.92 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.00678, allocations: 95.59 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006784, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.006786, allocations: 4 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.006793, allocations: 0 / 350.8 MB, free: 6.246 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.0006297/0.007422, allocations: 455.8 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.00747, allocations: 8.031 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.007539, allocations: 16.84 kB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.007751, allocations: 149.8 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.007774, allocations: 384 / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.007804, allocations: 4.375 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.00796, allocations: 58.94 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.007972, allocations: 3.938 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.007985, allocations: 8 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.007995, allocations: 4 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.00804, allocations: 15.92 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.008422, allocations: 283.8 kB / 351.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.00857, allocations: 51.17 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.008609, allocations: 19.62 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.008628, allocations: 7.938 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.008773, allocations: 68.98 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.008775, allocations: 4 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005198/0.009295, allocations: 157.7 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.009328, allocations: 51.41 kB / 352.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.009474, allocations: 232 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.009488, allocations: 25.7 kB / 352.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.009545, allocations: 154.9 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.009586, allocations: 35.73 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.009639, allocations: 27.38 kB / 352.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.009716, allocations: 0.4962 MB / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.009754, allocations: 11.98 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.009799, allocations: 39.36 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.371e-05/0.009873, allocations: 55.31 kB / 353.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009875, allocations: 0 / 353.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001528/0.01003, allocations: 89.58 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01005, allocations: 4 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01005, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.01007, allocations: 4 kB / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01018, allocations: 15.98 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01019, allocations: 0 / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.01024, allocations: 4.031 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01024, allocations: 4 kB / 353.4 MB, free: 3.5 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 8.41e-05/0.01033, allocations: 168.5 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.01035, allocations: 15.91 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.01057, allocations: 111.2 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01058, allocations: 0 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01058, allocations: 0 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01059, allocations: 0 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.01095, allocations: 393 kB / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01095, allocations: 0 / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.011, allocations: 23.95 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.011, allocations: 0 / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01102, allocations: 3.984 kB / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01102, allocations: 4 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01102, allocations: 0 / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.01121, allocations: 263.3 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.01123, allocations: 7.953 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01125, allocations: 4 kB / 354.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.01133, allocations: 4 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.01137, allocations: 3.984 kB / 354.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01139, allocations: 8 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.01148, allocations: 175.8 kB / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01148, allocations: 0 / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.01172, allocations: 27.92 kB / 354.6 MB, free: 2.223 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.001097/0.01281, allocations: 435.8 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.01299, allocations: 67.52 kB / 355 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01299, allocations: 0 / 355 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.01304, allocations: 31.61 kB / 355.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01335, allocations: 36.28 kB / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.0138, allocations: 217.1 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.01384, allocations: 71.33 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.01388, allocations: 16.47 kB / 355.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.01392, allocations: 16.5 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01392, allocations: 0 / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Templates: time 0.003976/0.0179, allocations: 1.838 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.33109278883785]