Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002181/0.002181, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003101/0.003101, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2749/0.2749, allocations: 46.89 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 87.86 kB / 0.4918 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1719, allocations: 65.99 MB / 0.5562 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.004704/0.1766, allocations: 1.688 MB / 0.5579 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1789, allocations: 1.018 MB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.179, allocations: 4 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.1795, allocations: 55.67 kB / 0.5589 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.18, allocations: 99.59 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1803, allocations: 71.67 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1805, allocations: 103.7 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.1806, allocations: 4.234 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1807, allocations: 51.78 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1808, allocations: 47.77 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1808, allocations: 4 kB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1809, allocations: 35.92 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.181, allocations: 23.91 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1811, allocations: 23.81 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1814, allocations: 99.58 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1814, allocations: 0 / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1814, allocations: 4 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1814, allocations: 0 / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007259/0.1821, allocations: 410.7 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1821, allocations: 12.03 kB / 0.5599 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.1822, allocations: 8.891 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1826, allocations: 216.1 kB / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1826, allocations: 384 / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1826, allocations: 384 / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1828, allocations: 53.98 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1828, allocations: 0 / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1828, allocations: 0 / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1828, allocations: 4 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.1829, allocations: 15.98 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.1832, allocations: 177.7 kB / 0.5604 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1833, allocations: 50.56 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1834, allocations: 20.84 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1834, allocations: 4 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1836, allocations: 67.33 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1836, allocations: 4 kB / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003109/0.1839, allocations: 93.75 kB / 0.5606 GB, free: 1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.184, allocations: 55.39 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1842, allocations: 183.3 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1842, allocations: 25.7 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.1843, allocations: 104.1 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.1843, allocations: 19.88 kB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.1844, allocations: 21.66 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1845, allocations: 322.8 kB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.1846, allocations: 20.05 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.1847, allocations: 25.7 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1848, allocations: 49.66 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1848, allocations: 0 / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.1849, allocations: 85.52 kB / 0.5615 GB, free: 40 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.185, allocations: 4 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.185, allocations: 4 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.185, allocations: 0 / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.1851, allocations: 11.94 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1851, allocations: 3.938 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1851, allocations: 16.02 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.1851, allocations: 0 / 0.5615 GB, free: 0 / 414.1 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 (7): * Single equations (assignments): 7 * 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 0.0001437/0.1853, allocations: 123.4 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1853, allocations: 15.89 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1853, allocations: 16.98 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1853, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1853, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1853, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1855, allocations: 185.6 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1855, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.1856, allocations: 15.92 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1856, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1856, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1856, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1856, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1858, allocations: 113.1 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.1859, allocations: 89 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1859, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.1859, allocations: 8 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.186, allocations: 3.984 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.186, allocations: 4 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1861, allocations: 132.9 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1861, allocations: 4 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1863, allocations: 23.92 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001579/0.1879, allocations: 401.7 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1881, allocations: 47.92 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1881, allocations: 0 / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.1882, allocations: 19.98 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1885, allocations: 34.09 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.189, allocations: 197.9 kB / 0.5629 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1894, allocations: 0.7002 MB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.934e-05/0.1894, allocations: 20.55 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1895, allocations: 15.44 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1895, allocations: 0 / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Templates: time 0.005034/0.1945, allocations: 1.505 MB / 0.565 GB, free: 12.35 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.530070424079895]