Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.6 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3455/0.3455, allocations: 44.12 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 55.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3924, allocations: 60.8 MB / 0.5064 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003878/0.3964, allocations: 1.757 MB / 0.5081 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3979, allocations: 0.8685 MB / 0.509 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.398, allocations: 2.906 kB / 0.509 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.3984, allocations: 40.88 kB / 0.509 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.3986, allocations: 42.28 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3989, allocations: 97.77 kB / 0.5091 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3991, allocations: 97.78 kB / 0.5092 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3992, allocations: 10.09 kB / 0.5092 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.3993, allocations: 42.03 kB / 0.5093 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.3994, allocations: 36.69 kB / 0.5093 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3994, allocations: 2.25 kB / 0.5093 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3996, allocations: 39.39 kB / 0.5094 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.3996, allocations: 20.08 kB / 0.5094 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.3997, allocations: 32.23 kB / 0.5094 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3999, allocations: 111.3 kB / 0.5095 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3999, allocations: 2.906 kB / 0.5095 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3999, allocations: 0 / 0.5095 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3999, allocations: 0 / 0.5095 GB, free: 36.46 MB / 378.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.0005934/0.4005, allocations: 410.3 kB / 0.5099 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4006, allocations: 9.531 kB / 0.5099 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.4007, allocations: 22.09 kB / 0.5099 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4009, allocations: 206.1 kB / 0.5101 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4009, allocations: 3.969 kB / 0.5101 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.401, allocations: 7.547 kB / 0.5101 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4011, allocations: 54.98 kB / 0.5102 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4011, allocations: 0 / 0.5102 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4012, allocations: 0 / 0.5102 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4012, allocations: 4 kB / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.4012, allocations: 22.92 kB / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.4016, allocations: 291.6 kB / 0.5105 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.4017, allocations: 51.95 kB / 0.5105 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.4018, allocations: 28.89 kB / 0.5106 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4018, allocations: 0 / 0.5106 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.402, allocations: 71.41 kB / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.402, allocations: 0 / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005108/0.4025, allocations: 176.1 kB / 0.5108 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4026, allocations: 51.41 kB / 0.5109 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.4027, allocations: 203.5 kB / 0.5111 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4028, allocations: 33.7 kB / 0.5111 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.4028, allocations: 101.2 kB / 0.5112 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.4028, allocations: 26.83 kB / 0.5112 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.4029, allocations: 23.47 kB / 0.5112 GB, free: 34.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.403, allocations: 328.5 kB / 0.5115 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.403, allocations: 19.59 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.4031, allocations: 39.38 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.4032, allocations: 62.38 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4032, allocations: 0 / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001617/0.4034, allocations: 102.4 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4034, allocations: 6.062 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4034, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4034, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.4035, allocations: 21.86 kB / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4035, allocations: 0 / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.4036, allocations: 10.84 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4036, allocations: 3.188 kB / 0.5118 GB, free: 34.43 MB / 378.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 8.725e-05/0.4037, allocations: 126 kB / 0.5119 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.4037, allocations: 17.75 kB / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.4038, allocations: 22.33 kB / 0.512 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4038, allocations: 0 / 0.512 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4038, allocations: 2.688 kB / 0.512 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4038, allocations: 3.938 kB / 0.512 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.4041, allocations: 395.1 kB / 0.5123 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4042, allocations: 0 / 0.5123 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.4042, allocations: 8.219 kB / 0.5123 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4042, allocations: 0 / 0.5123 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4042, allocations: 9.828 kB / 0.5124 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4042, allocations: 6.469 kB / 0.5124 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4042, allocations: 0 / 0.5124 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.4047, allocations: 0.7908 MB / 0.5131 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.4047, allocations: 83.89 kB / 0.5132 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4048, allocations: 0 / 0.5132 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.4048, allocations: 13.64 kB / 0.5132 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4049, allocations: 5.062 kB / 0.5132 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4049, allocations: 6.469 kB / 0.5132 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.405, allocations: 153.1 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.405, allocations: 2.906 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.4054, allocations: 23.78 kB / 0.5134 GB, free: 32.95 MB / 378.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 (8): * Single equations (assignments): 6 * 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.001035/0.4064, allocations: 468.3 kB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.4066, allocations: 60.2 kB / 0.5139 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4066, allocations: 0 / 0.5139 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.4067, allocations: 32.89 kB / 0.5139 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.407, allocations: 30.8 kB / 0.514 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.4075, allocations: 378.6 kB / 0.5143 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.4077, allocations: 0.7078 MB / 0.515 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.4078, allocations: 17.75 kB / 0.515 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.4078, allocations: 19.55 kB / 0.5151 GB, free: 31.67 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4078, allocations: 0 / 0.5151 GB, free: 31.67 MB / 378.7 MB Notification: Performance of Templates: time 0.004583/0.4124, allocations: 1.682 MB / 0.5167 GB, free: 31.47 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches