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.001539/0.001539, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.00228/0.00228, allocations: 171.8 kB / 24.84 MB, free: 8.918 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.062/1.062, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.146/0.146, allocations: 32.37 MB / 271.5 MB, free: 2.449 MB / 250.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 2.465e-06/2.465e-06, allocations: 0 / 349 MB, free: 4.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.99e-05, allocations: 10.19 kB / 349 MB, free: 4.719 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002487/0.002517, allocations: 1.727 MB / 350.7 MB, free: 2.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003649, allocations: 0.7879 MB / 351.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.003734, allocations: 4 kB / 351.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.004123, allocations: 51.64 kB / 351.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.004332, allocations: 47.77 kB / 351.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.004525, allocations: 87.69 kB / 351.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.004705, allocations: 103.6 kB / 351.8 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.004792, allocations: 4.234 kB / 351.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.004871, allocations: 55.83 kB / 351.9 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.004944, allocations: 27.91 kB / 351.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.00496, allocations: 4 kB / 351.9 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.005037, allocations: 35.94 kB / 351.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.005089, allocations: 27.91 kB / 352 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.005123, allocations: 19.92 kB / 352 MB, free: 1.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.005284, allocations: 103.5 kB / 352.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.005287, allocations: 0 / 352.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005288, allocations: 0 / 352.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.005293, allocations: 0 / 352.1 MB, free: 1.617 MB / 330.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.000427/0.00572, allocations: 447.8 kB / 352.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.005758, allocations: 8.031 kB / 352.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.005801, allocations: 24.84 kB / 352.6 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.006034, allocations: 153.1 kB / 352.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.006052, allocations: 4.375 kB / 352.7 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.00607, allocations: 8.312 kB / 352.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.006177, allocations: 58.94 kB / 352.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.006192, allocations: 3.938 kB / 352.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.006198, allocations: 0 / 352.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.006205, allocations: 4 kB / 352.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.006233, allocations: 7.984 kB / 352.8 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.006507, allocations: 260.4 kB / 353 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.006603, allocations: 55.09 kB / 353.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.006627, allocations: 19.67 kB / 353.1 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.006638, allocations: 0 / 353.1 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.635e-05/0.006734, allocations: 64.98 kB / 353.2 MB, free: 404 kB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.006735, allocations: 0 / 353.2 MB, free: 404 kB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003232/0.007058, allocations: 137.4 kB / 353.3 MB, free: 260 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.00709, allocations: 55.41 kB / 353.4 MB, free: 192 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1765/0.1836, allocations: 221.5 kB / 353.6 MB, free: 65.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1836, allocations: 29.2 kB / 353.6 MB, free: 65.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.1837, allocations: 152.5 kB / 353.8 MB, free: 64.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.1837, allocations: 30.5 kB / 353.8 MB, free: 64.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.1838, allocations: 29.83 kB / 353.8 MB, free: 64.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.1839, allocations: 0.496 MB / 354.3 MB, free: 64.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.1839, allocations: 13.89 kB / 354.3 MB, free: 64.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.184, allocations: 29.69 kB / 354.4 MB, free: 64.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/0.184, allocations: 48.28 kB / 354.4 MB, free: 64.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.184, allocations: 0 / 354.4 MB, free: 64.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001536/0.1842, allocations: 90.92 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1842, allocations: 6.094 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1842, allocations: 1.25 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1842, allocations: 2.688 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1843, allocations: 20.92 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1843, allocations: 2.281 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.1844, allocations: 4.031 kB / 354.5 MB, free: 64.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1844, allocations: 2.75 kB / 354.5 MB, free: 64.3 MB / 330.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 7.957e-05/0.1845, allocations: 164.8 kB / 354.7 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1845, allocations: 16.3 kB / 354.7 MB, free: 64.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.1847, allocations: 101.1 kB / 354.8 MB, free: 64.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1847, allocations: 1.5 kB / 354.8 MB, free: 64.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1847, allocations: 2.031 kB / 354.8 MB, free: 64.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1847, allocations: 0.8438 kB / 354.8 MB, free: 64.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.1851, allocations: 357.1 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1851, allocations: 1.594 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.1851, allocations: 19.05 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1851, allocations: 0.5 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1852, allocations: 6.297 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1852, allocations: 3.531 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1852, allocations: 0 / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1853, allocations: 254.6 kB / 355.4 MB, free: 63.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.1854, allocations: 12.44 kB / 355.5 MB, free: 63.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1854, allocations: 3.969 kB / 355.5 MB, free: 63.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.1854, allocations: 5.25 kB / 355.5 MB, free: 63.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1855, allocations: 8.906 kB / 355.5 MB, free: 63.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1855, allocations: 3.406 kB / 355.5 MB, free: 63.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.1856, allocations: 163.7 kB / 355.6 MB, free: 63.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1856, allocations: 1.594 kB / 355.6 MB, free: 63.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.1858, allocations: 28.41 kB / 355.7 MB, free: 63.49 MB / 330.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.001065/0.1868, allocations: 437.8 kB / 356.1 MB, free: 63.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.187, allocations: 52.12 kB / 356.1 MB, free: 63.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.187, allocations: 0 / 356.1 MB, free: 63.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.187, allocations: 30.92 kB / 356.2 MB, free: 63.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1873, allocations: 30.25 kB / 356.2 MB, free: 63.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.1877, allocations: 222.4 kB / 356.4 MB, free: 63.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.1877, allocations: 68.14 kB / 356.5 MB, free: 63.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.1878, allocations: 18.69 kB / 356.5 MB, free: 63.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.1879, allocations: 88.09 kB / 356.6 MB, free: 63.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.1879, allocations: 0 / 356.6 MB, free: 63.03 MB / 330.7 MB Notification: Performance of Templates: time 0.005292/0.1932, allocations: 2.033 MB / 358.6 MB, free: 62.82 MB / 330.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.5223479978740215]