Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001629/0.001629, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001445/0.001445, allocations: 168.8 kB / 24.5 MB, free: 3.457 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 34.26 MB / 295.5 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 443.2 MB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 66.01 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003502/0.3759, allocations: 1.799 MB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3775, allocations: 1.044 MB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.3776, allocations: 3.094 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.3782, allocations: 297.9 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.3786, allocations: 250 kB / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.3789, allocations: 109.4 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.3791, allocations: 268.6 kB / 0.5009 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.3792, allocations: 9 kB / 0.5009 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3793, allocations: 134.6 kB / 0.5011 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3796, allocations: 212.7 kB / 0.5013 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3796, allocations: 10.34 kB / 0.5013 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3797, allocations: 46.67 kB / 0.5013 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3799, allocations: 127.6 kB / 0.5015 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.38, allocations: 114.6 kB / 0.5016 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.3804, allocations: 377.7 kB / 0.5019 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3804, allocations: 3.938 kB / 0.5019 GB, free: 27.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3804, allocations: 1.438 kB / 0.5019 GB, free: 27.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3804, allocations: 0 / 0.5019 GB, free: 27.26 MB / 446.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.0008556/0.3812, allocations: 0.6717 MB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3813, allocations: 9.438 kB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.3814, allocations: 50.2 kB / 0.5026 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.3819, allocations: 389.5 kB / 0.503 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3819, allocations: 3.594 kB / 0.503 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3819, allocations: 11.34 kB / 0.503 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3821, allocations: 82.72 kB / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3821, allocations: 0 / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3821, allocations: 7.328 kB / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3822, allocations: 6.875 kB / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3823, allocations: 36.53 kB / 0.5032 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3826, allocations: 297.8 kB / 0.5034 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3828, allocations: 104.5 kB / 0.5035 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.3829, allocations: 40.28 kB / 0.5036 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3829, allocations: 4 kB / 0.5036 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3831, allocations: 113.4 kB / 0.5037 GB, free: 26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3831, allocations: 0 / 0.5037 GB, free: 26 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004593/0.3836, allocations: 216 kB / 0.5039 GB, free: 25.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3836, allocations: 83.8 kB / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/0.3845, allocations: 1.031 MB / 0.505 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3845, allocations: 33.11 kB / 0.505 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3846, allocations: 237 kB / 0.5052 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3847, allocations: 29.34 kB / 0.5053 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3847, allocations: 29.95 kB / 0.5053 GB, free: 25.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.3848, allocations: 370.4 kB / 0.5057 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.3849, allocations: 30.69 kB / 0.5057 GB, free: 24.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.385, allocations: 64.25 kB / 0.5057 GB, free: 24.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3851, allocations: 92.69 kB / 0.5058 GB, free: 24.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3851, allocations: 0 / 0.5058 GB, free: 24.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000254/0.3854, allocations: 179 kB / 0.506 GB, free: 24.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3854, allocations: 10.03 kB / 0.506 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3854, allocations: 0 / 0.506 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3854, allocations: 3 kB / 0.506 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3855, allocations: 25.91 kB / 0.506 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3855, allocations: 0 / 0.506 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.41e-05/0.3856, allocations: 17.55 kB / 0.5061 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3856, allocations: 7.031 kB / 0.5061 GB, free: 24.61 MB / 446.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.0001814/0.3858, allocations: 216.4 kB / 0.5063 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.3859, allocations: 53.3 kB / 0.5063 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.3862, allocations: 220.8 kB / 0.5065 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3862, allocations: 0 / 0.5065 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3862, allocations: 7.156 kB / 0.5065 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3862, allocations: 0 / 0.5065 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3865, allocations: 264.1 kB / 0.5068 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3865, allocations: 0 / 0.5068 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.3865, allocations: 17.25 kB / 0.5068 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3865, allocations: 7.062 kB / 0.5068 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3866, allocations: 3.281 kB / 0.5068 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3866, allocations: 3 kB / 0.5068 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3866, allocations: 0 / 0.5068 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.3869, allocations: 225.6 kB / 0.507 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.387, allocations: 67.56 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.3871, allocations: 6.141 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.3871, allocations: 2.406 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.3872, allocations: 15.55 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3872, allocations: 2.5 kB / 0.5071 GB, free: 23.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008679/0.3881, allocations: 0.7749 MB / 0.5079 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3881, allocations: 0 / 0.5079 GB, free: 23.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3884, allocations: 43.31 kB / 0.5079 GB, free: 23.7 MB / 446.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.001876/0.3903, allocations: 447.2 kB / 0.5083 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3905, allocations: 80.42 kB / 0.5084 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3905, allocations: 0 / 0.5084 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3906, allocations: 46.2 kB / 0.5085 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3911, allocations: 71.38 kB / 0.5085 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3922, allocations: 0.8735 MB / 0.5094 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.3924, allocations: 242.1 kB / 0.5096 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.3925, allocations: 55.98 kB / 0.5097 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.3925, allocations: 30.72 kB / 0.5097 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3925, allocations: 0 / 0.5097 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.009225/0.4018, allocations: 3.981 MB / 0.5136 GB, free: 22.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.056654121028259]