Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 185 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.18 MB / 336.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.91 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4283, allocations: 60.81 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002954/0.4313, allocations: 1.714 MB / 0.5206 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.4327, allocations: 0.883 MB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.4328, allocations: 1.188 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.4331, allocations: 39.19 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.4334, allocations: 56.58 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4338, allocations: 108.4 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.434, allocations: 97.17 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4341, allocations: 10.94 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.4342, allocations: 46.48 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.4343, allocations: 26.06 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.4343, allocations: 3.281 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.4345, allocations: 42.31 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.4346, allocations: 23.75 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.4346, allocations: 33.59 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.4349, allocations: 121 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4349, allocations: 1.125 kB / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4349, allocations: 0 / 0.5221 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4349, allocations: 4 kB / 0.5221 GB, free: 1.523 MB / 382.1 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.0005817/0.4355, allocations: 410.5 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4356, allocations: 10.23 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.4356, allocations: 13.06 kB / 0.5225 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.4358, allocations: 212.1 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4359, allocations: 1.5 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.4359, allocations: 16.2 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4361, allocations: 56.89 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4361, allocations: 0 / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4361, allocations: 5.125 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4361, allocations: 1.781 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.4362, allocations: 17.89 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.4365, allocations: 287.2 kB / 0.5231 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.4367, allocations: 64.73 kB / 0.5231 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.4368, allocations: 19.92 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.4369, allocations: 1.812 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.437, allocations: 68.75 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.437, allocations: 0 / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005586/0.4376, allocations: 172.8 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4376, allocations: 61.25 kB / 0.5235 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4378, allocations: 197.6 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.4378, allocations: 26.41 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.4379, allocations: 100.6 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.438, allocations: 29.91 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.438, allocations: 26.81 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4381, allocations: 325.4 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.4382, allocations: 21.64 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.4383, allocations: 44.03 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4384, allocations: 52.72 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4384, allocations: 0 / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000264/0.4387, allocations: 106.2 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4387, allocations: 8.859 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4388, allocations: 0 / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4388, allocations: 5.281 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4389, allocations: 19.77 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4389, allocations: 1.188 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.439, allocations: 6.984 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.439, allocations: 2.922 kB / 0.5244 GB, free: 15.5 MB / 398.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 (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 0.0001411/0.4392, allocations: 131.7 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.4392, allocations: 12.41 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.4392, allocations: 17.38 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4393, allocations: 1.578 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4393, allocations: 4.188 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4393, allocations: 6.359 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.4398, allocations: 398.7 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4398, allocations: 0 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.4399, allocations: 9.141 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4399, allocations: 1.5 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4399, allocations: 5.344 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4399, allocations: 2.062 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4399, allocations: 4.406 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.4402, allocations: 202.2 kB / 0.5251 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.4403, allocations: 88.09 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.4403, allocations: 10.91 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.4404, allocations: 6.938 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.4404, allocations: 5.078 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4405, allocations: 7.844 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.4407, allocations: 151.9 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4407, allocations: 0 / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.4409, allocations: 26.23 kB / 0.5254 GB, free: 14.6 MB / 398.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: 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.001307/0.4423, allocations: 466.1 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.4425, allocations: 63.94 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4425, allocations: 0 / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.4426, allocations: 29.3 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.443, allocations: 27.56 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.4435, allocations: 233.1 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4439, allocations: 0.7112 MB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.444, allocations: 16.16 kB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.444, allocations: 17 kB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.444, allocations: 0 / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.00546/0.4495, allocations: 1.711 MB / 0.5286 GB, free: 12.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches