Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001228/0.001228, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.418/1.418, 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.2289/0.2289, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 71.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5305, allocations: 60.82 MB / 0.519 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003413/0.534, allocations: 1.713 MB / 0.5207 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.5357, allocations: 0.878 MB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.5358, allocations: 1.156 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.5362, allocations: 45.48 kB / 0.5216 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.5365, allocations: 69 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.5368, allocations: 104.8 kB / 0.5217 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.537, allocations: 99.97 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.5371, allocations: 13.3 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.5373, allocations: 39.98 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.5373, allocations: 31.28 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.5374, allocations: 3.438 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.5375, allocations: 42.48 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.5376, allocations: 27.61 kB / 0.522 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.5377, allocations: 47.47 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.538, allocations: 128.3 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.538, allocations: 0 / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.538, allocations: 1.125 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.538, allocations: 3.938 kB / 0.5221 GB, free: 1.543 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.0006559/0.5387, allocations: 431.2 kB / 0.5226 GB, free: 1.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.5387, allocations: 8.469 kB / 0.5226 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.5388, allocations: 19.44 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.5391, allocations: 218.2 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5391, allocations: 2.219 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.5391, allocations: 7.328 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5393, allocations: 57.81 kB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5394, allocations: 4.594 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5394, allocations: 0 / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5394, allocations: 0.9062 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.5395, allocations: 23.19 kB / 0.5229 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.5399, allocations: 297.1 kB / 0.5232 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.5401, allocations: 59.89 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.5402, allocations: 20.38 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.5402, allocations: 1.625 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.5404, allocations: 73.12 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5404, allocations: 0 / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005983/0.541, allocations: 179.8 kB / 0.5235 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5411, allocations: 60.56 kB / 0.5235 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.5413, allocations: 258.4 kB / 0.5238 GB, free: 128 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5414, allocations: 30.77 kB / 0.5238 GB, free: 92 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.5415, allocations: 112.5 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.5415, allocations: 25.7 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.5415, allocations: 26.67 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5417, allocations: 332.2 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.5418, allocations: 20.25 kB / 0.5243 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.5419, allocations: 40.33 kB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.542, allocations: 57.81 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.542, allocations: 0 / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.5422, allocations: 110.7 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5423, allocations: 5.531 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5423, allocations: 0.7969 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5423, allocations: 1.094 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5424, allocations: 15.47 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5424, allocations: 1.094 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.5425, allocations: 7.578 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5425, allocations: 2.344 kB / 0.5245 GB, free: 15.48 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.0001508/0.5427, allocations: 141.9 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.5427, allocations: 19.25 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.5428, allocations: 22.98 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5428, allocations: 1.219 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5428, allocations: 1.281 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5428, allocations: 4.594 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.5433, allocations: 401.7 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5434, allocations: 1.938 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.5434, allocations: 15.59 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5434, allocations: 1.531 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.5434, allocations: 11.45 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5434, allocations: 0 / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5434, allocations: 1.844 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.5437, allocations: 201.6 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.5438, allocations: 89.95 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.5438, allocations: 14.12 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.5439, allocations: 10.66 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.544, allocations: 7.109 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.544, allocations: 3.484 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.5442, allocations: 203.5 kB / 0.5256 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5442, allocations: 0 / 0.5256 GB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.5445, allocations: 26.81 kB / 0.5257 GB, free: 14.54 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.00119/0.5457, allocations: 466.4 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.5459, allocations: 61.31 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5459, allocations: 0 / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.809e-05/0.546, allocations: 42.09 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.5464, allocations: 22.05 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.547, allocations: 277.2 kB / 0.5265 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5474, allocations: 0.7155 MB / 0.5272 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.5475, allocations: 21.45 kB / 0.5272 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.5475, allocations: 28.92 kB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5475, allocations: 0 / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Templates: time 0.006262/0.5538, allocations: 1.741 MB / 0.5289 GB, free: 12.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches