Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 118.4 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.001854/0.001854, allocations: 183 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.485/1.485, 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.2497/0.2497, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 67.84 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5191/0.5204, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003845/0.5243, allocations: 1.715 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.5264, allocations: 0.8775 MB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.5266, allocations: 5.219 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.5271, allocations: 46.09 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.5275, allocations: 68.03 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.5279, allocations: 105 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.5282, allocations: 100.2 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.5284, allocations: 8.031 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.5285, allocations: 41.91 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.5287, allocations: 34.11 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.5287, allocations: 4.438 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.5288, allocations: 42.56 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.529, allocations: 27.7 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.529, allocations: 41.69 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.5294, allocations: 133.8 kB / 0.5221 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5294, allocations: 0 / 0.5221 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.5294, allocations: 0 / 0.5221 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.5294, allocations: 0.9062 kB / 0.5221 GB, free: 1.52 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.0007922/0.5302, allocations: 435 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5303, allocations: 8.531 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.5304, allocations: 15.48 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.5306, allocations: 226.4 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5307, allocations: 2.125 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.5307, allocations: 6.438 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.5309, allocations: 62.53 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.5309, allocations: 5.062 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.5309, allocations: 0 / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5309, allocations: 0.9375 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.531, allocations: 18.31 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.5314, allocations: 297.6 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.5316, allocations: 59.7 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.5317, allocations: 20.75 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5317, allocations: 1.25 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.5319, allocations: 73.53 kB / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5319, allocations: 0 / 0.5233 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006503/0.5326, allocations: 179.2 kB / 0.5235 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.5326, allocations: 57.39 kB / 0.5235 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.533, allocations: 258.3 kB / 0.5238 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.533, allocations: 30.5 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5331, allocations: 115.7 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.5331, allocations: 27.84 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.5332, allocations: 24.64 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.5334, allocations: 331.5 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.5335, allocations: 18.06 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.543e-05/0.5335, allocations: 44 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.5337, allocations: 61.39 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5337, allocations: 0 / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.5339, allocations: 110.6 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5339, allocations: 5 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.5339, allocations: 1.281 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.534, allocations: 1.625 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5341, allocations: 15.12 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5341, allocations: 1.188 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.5342, allocations: 7.141 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5342, allocations: 3.219 kB / 0.5245 GB, free: 15.45 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.0001452/0.5343, allocations: 140.6 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.5344, allocations: 16.62 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.5344, allocations: 18.28 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5344, allocations: 2.156 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5344, allocations: 0 / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.5345, allocations: 4.734 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.535, allocations: 402 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5351, allocations: 0.75 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.5351, allocations: 16.3 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5351, allocations: 1.797 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5351, allocations: 6.781 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5351, allocations: 1.125 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5351, allocations: 384 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.5354, allocations: 207.1 kB / 0.5253 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.5355, allocations: 89.61 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.5356, allocations: 9.781 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.5356, allocations: 11.86 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.5357, allocations: 9.906 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.5357, allocations: 3 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.536, allocations: 204.5 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.536, allocations: 0 / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.5362, allocations: 26.84 kB / 0.5257 GB, free: 14.52 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.001258/0.5375, allocations: 464.2 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.5377, allocations: 60.42 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5377, allocations: 0 / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.5378, allocations: 33.47 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.5382, allocations: 42.33 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.5389, allocations: 276.4 kB / 0.5265 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.5393, allocations: 0.7209 MB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.5394, allocations: 16.2 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.5394, allocations: 21.08 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5394, allocations: 3.938 kB / 0.5272 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.005833/0.5453, allocations: 1.735 MB / 0.5289 GB, free: 12.74 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches