Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, 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.001338/0.001339, allocations: 184.2 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2352/0.2352, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5243, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00309/0.5275, allocations: 1.71 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.5296, allocations: 1.485 MB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.5297, allocations: 1.094 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.53, allocations: 36.33 kB / 0.5221 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.5303, allocations: 51.8 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.5306, allocations: 118.4 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.5308, allocations: 109.6 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.5309, allocations: 11.52 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.531, allocations: 44 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.5312, allocations: 44.45 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.5312, allocations: 5.562 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.5314, allocations: 59.05 kB / 0.5226 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.5314, allocations: 24.98 kB / 0.5226 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.5315, allocations: 35.28 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.5318, allocations: 127 kB / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5318, allocations: 0.5625 kB / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5318, allocations: 0 / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.5318, allocations: 0 / 0.5227 GB, free: 1.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005628/0.5324, allocations: 415.4 kB / 0.5231 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5324, allocations: 8.938 kB / 0.5231 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.5325, allocations: 14.28 kB / 0.5232 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5327, allocations: 213.1 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5328, allocations: 13.81 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5328, allocations: 3.047 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.533, allocations: 71.61 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.533, allocations: 0 / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.533, allocations: 5.25 kB / 0.5235 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5331, allocations: 1.312 kB / 0.5235 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5332, allocations: 29.22 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.5336, allocations: 304.6 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.5338, allocations: 63.53 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.5339, allocations: 29.5 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.534, allocations: 6.875 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.5342, allocations: 73.09 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.5342, allocations: 0 / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006495/0.5348, allocations: 192.9 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.5349, allocations: 82.42 kB / 0.5242 GB, free: 15.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.5351, allocations: 162.5 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5351, allocations: 27.14 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.5352, allocations: 98.94 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.5352, allocations: 30.44 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.5353, allocations: 26.98 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5354, allocations: 322.1 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.5355, allocations: 27.72 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.5356, allocations: 56.94 kB / 0.5249 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.5358, allocations: 66.88 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5358, allocations: 4.031 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.536, allocations: 113.9 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.536, allocations: 8.281 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.536, allocations: 1.172 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.5361, allocations: 5.188 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.5362, allocations: 21.59 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5362, allocations: 1.938 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.5362, allocations: 7.25 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.5362, allocations: 2 kB / 0.5251 GB, free: 14.96 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 (11): * Single equations (assignments): 11 * 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.0001164/0.5364, allocations: 123.4 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.5364, allocations: 14.12 kB / 0.5253 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.5365, allocations: 26.55 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5365, allocations: 2.125 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5365, allocations: 0 / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5365, allocations: 8.438 kB / 0.5253 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.537, allocations: 410.1 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5371, allocations: 5.031 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.5371, allocations: 14.94 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5371, allocations: 1.188 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5371, allocations: 2.406 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5371, allocations: 1.625 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5371, allocations: 0.6562 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.5374, allocations: 218 kB / 0.5259 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.5375, allocations: 87.42 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.5375, allocations: 2.516 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.5376, allocations: 4.891 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.5377, allocations: 10.48 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.5377, allocations: 4.219 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.5378, allocations: 121.4 kB / 0.5262 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5378, allocations: 0 / 0.5262 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000284/0.5381, allocations: 32.02 kB / 0.5262 GB, free: 14.07 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 (9): * Single equations (assignments): 7 * 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.001255/0.5394, allocations: 499.2 kB / 0.5267 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.5396, allocations: 71.97 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5396, allocations: 0 / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.5397, allocations: 35.8 kB / 0.5268 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.5401, allocations: 41.84 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.5406, allocations: 208 kB / 0.527 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.541, allocations: 0.7047 MB / 0.5277 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.5411, allocations: 20.95 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.5411, allocations: 25.44 kB / 0.5277 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5411, allocations: 0 / 0.5277 GB, free: 12.91 MB / 398.1 MB Notification: Performance of Templates: time 0.005673/0.5468, allocations: 2.058 MB / 0.5297 GB, free: 12.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches