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.001401/0.001401, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002195/0.002195, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 44.91 MB / 359.6 MB, free: 6.348 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.91 kB / 0.4944 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3722, allocations: 65.46 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003376/0.3756, allocations: 1.837 MB / 0.5601 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3776, allocations: 1.12 MB / 0.5612 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3776, allocations: 0 / 0.5612 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.3782, allocations: 303.2 kB / 0.5615 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.3787, allocations: 259.2 kB / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3789, allocations: 103.7 kB / 0.5618 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3793, allocations: 267.2 kB / 0.5621 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.3794, allocations: 5.812 kB / 0.5621 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.3796, allocations: 139.5 kB / 0.5622 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3798, allocations: 223.8 kB / 0.5624 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3799, allocations: 8 kB / 0.5624 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.38, allocations: 43.98 kB / 0.5625 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3801, allocations: 128.6 kB / 0.5626 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.3803, allocations: 150.8 kB / 0.5628 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.3807, allocations: 376.6 kB / 0.5631 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3807, allocations: 4 kB / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3807, allocations: 0 / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3808, allocations: 0 / 0.5631 GB, free: 2.797 MB / 398.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.001016/0.3818, allocations: 0.6708 MB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3818, allocations: 12.03 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.3819, allocations: 52.59 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.3825, allocations: 390.5 kB / 0.5642 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3826, allocations: 8.312 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3826, allocations: 8.125 kB / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3828, allocations: 87.36 kB / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3828, allocations: 4 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3828, allocations: 4 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3828, allocations: 0 / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3829, allocations: 31.97 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.3834, allocations: 349.4 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.3838, allocations: 105.2 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3839, allocations: 41.62 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3839, allocations: 4 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.3842, allocations: 109 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3842, allocations: 0 / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005018/0.3847, allocations: 201.2 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3847, allocations: 81.11 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3859, allocations: 1.026 MB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3859, allocations: 25.7 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3861, allocations: 240 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.3862, allocations: 27.8 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.3862, allocations: 29.7 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3864, allocations: 370.8 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.3865, allocations: 27.92 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3866, allocations: 59.41 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3868, allocations: 91.36 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3868, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003384/0.3871, allocations: 173.7 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3872, allocations: 8 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3872, allocations: 0 / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3872, allocations: 4 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3873, allocations: 32.11 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3873, allocations: 7.922 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3874, allocations: 15.89 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3874, allocations: 7.938 kB / 0.5673 GB, free: 14.3 MB / 414.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.0002522/0.3877, allocations: 221.7 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.3878, allocations: 51.67 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.3882, allocations: 193.8 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3882, allocations: 4 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3882, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3882, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.3885, allocations: 324.5 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3885, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3886, allocations: 8 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3886, allocations: 7.984 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3886, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3886, allocations: 3.938 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3886, allocations: 4 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.3889, allocations: 217.5 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3891, allocations: 63.59 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.3891, allocations: 11.98 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.3892, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3893, allocations: 7.984 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3893, allocations: 12 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008599/0.3902, allocations: 0.7682 MB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3904, allocations: 40 kB / 0.5691 GB, free: 12.3 MB / 414.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.00157/0.392, allocations: 417.6 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.3923, allocations: 83.83 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3923, allocations: 0 / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3924, allocations: 44.05 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.3929, allocations: 76.27 kB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3943, allocations: 0.9145 MB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3948, allocations: 0.8426 MB / 0.5714 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.3949, allocations: 23.44 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3949, allocations: 8 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of Templates: time 0.009511/0.4044, allocations: 5.133 MB / 0.5765 GB, free: 4.871 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/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: 8.183749849908054]