Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001336/0.001336, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001692/0.001692, allocations: 163 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.402e-05, allocations: 6.281 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003107/0.003131, allocations: 1.795 MB / 442 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.005031, allocations: 1.052 MB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.005113, allocations: 0 / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.005639, allocations: 299 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.006142, allocations: 263 kB / 443.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.00637, allocations: 107.6 kB / 443.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.006711, allocations: 259.2 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.006761, allocations: 9.812 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.006981, allocations: 159.5 kB / 444.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.007231, allocations: 196.1 kB / 444.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.007259, allocations: 12 kB / 444.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.007374, allocations: 47.92 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.007531, allocations: 144.5 kB / 444.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.007635, allocations: 63.67 kB / 444.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.008058, allocations: 354.7 kB / 444.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.008063, allocations: 4 kB / 444.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008064, allocations: 0 / 444.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.008076, allocations: 0 / 444.9 MB, free: 3.344 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001076/0.009153, allocations: 0.6747 MB / 445.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.009191, allocations: 12.03 kB / 445.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.009276, allocations: 56.61 kB / 445.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.009852, allocations: 385.8 kB / 446 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.009869, allocations: 4.375 kB / 446 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.00989, allocations: 4.375 kB / 446 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.01012, allocations: 87.86 kB / 446.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01013, allocations: 3.938 kB / 446.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.01015, allocations: 4 kB / 446.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.01015, allocations: 4 kB / 446.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.01027, allocations: 31.97 kB / 446.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.01067, allocations: 302.1 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.01099, allocations: 101.2 kB / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.01109, allocations: 41.69 kB / 446.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.01111, allocations: 0 / 446.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.01134, allocations: 113 kB / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.01134, allocations: 0 / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005191/0.01186, allocations: 217.1 kB / 446.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.01192, allocations: 81.11 kB / 447 MB, free: 1.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.0131, allocations: 1.034 MB / 448 MB, free: 40 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.01313, allocations: 29.7 kB / 448 MB, free: 4 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1692/0.1823, allocations: 232.1 kB / 448.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1824, allocations: 31.23 kB / 448.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1824, allocations: 28.86 kB / 448.3 MB, free: 21.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.1825, allocations: 366.1 kB / 448.7 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1826, allocations: 32.52 kB / 448.7 MB, free: 21.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.1827, allocations: 60.3 kB / 448.8 MB, free: 21.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1829, allocations: 96.31 kB / 448.9 MB, free: 21.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.1829, allocations: 8.938 kB / 448.9 MB, free: 21.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003636/0.1833, allocations: 174.8 kB / 449 MB, free: 21.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1833, allocations: 5.562 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1833, allocations: 1.75 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1833, allocations: 1.766 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1834, allocations: 25.17 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1835, allocations: 9.172 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1836, allocations: 17.62 kB / 449.1 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1836, allocations: 5.484 kB / 449.1 MB, free: 21.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001762/0.1837, allocations: 218.5 kB / 449.3 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.1838, allocations: 55.48 kB / 449.4 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.1842, allocations: 203.3 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1842, allocations: 5.312 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1842, allocations: 1.75 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1842, allocations: 0.6094 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1844, allocations: 265 kB / 449.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1844, allocations: 3 kB / 449.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.1845, allocations: 10.45 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1845, allocations: 1.094 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1845, allocations: 4.453 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1845, allocations: 1.125 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1845, allocations: 7.375 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.1848, allocations: 221.2 kB / 450.1 MB, free: 20.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.1849, allocations: 65.64 kB / 450.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.185, allocations: 7.297 kB / 450.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.1851, allocations: 4.641 kB / 450.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1851, allocations: 16.98 kB / 450.2 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1851, allocations: 6.406 kB / 450.2 MB, free: 20.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006929/0.1858, allocations: 0.7692 MB / 451 MB, free: 20.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1858, allocations: 1.812 kB / 451 MB, free: 20.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1861, allocations: 43.97 kB / 451 MB, free: 20.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0015/0.1876, allocations: 442.1 kB / 451.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1878, allocations: 84.78 kB / 451.5 MB, free: 20.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1878, allocations: 0 / 451.5 MB, free: 20.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1879, allocations: 46.92 kB / 451.6 MB, free: 20.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1883, allocations: 82.97 kB / 451.6 MB, free: 20.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1894, allocations: 0.8799 MB / 452.5 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1896, allocations: 243 kB / 452.8 MB, free: 19.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1897, allocations: 56.52 kB / 452.8 MB, free: 19.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.1897, allocations: 27.75 kB / 452.8 MB, free: 19.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1897, allocations: 4 kB / 452.8 MB, free: 19.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009187/0.1989, allocations: 3.965 MB / 456.8 MB, free: 19.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 4.642399583011866]