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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001186/0.001186, allocations: 188 kB / 18.71 MB, free: 4.387 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2026/0.2026, allocations: 44.19 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4288, allocations: 60.82 MB / 0.519 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003665/0.4325, allocations: 1.719 MB / 0.5207 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.4343, allocations: 0.8716 MB / 0.5215 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.4344, allocations: 5.125 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.4348, allocations: 43.03 kB / 0.5216 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4351, allocations: 55.66 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4354, allocations: 109.3 kB / 0.5217 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.4356, allocations: 95.69 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.4358, allocations: 12.88 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4359, allocations: 41.25 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.436, allocations: 26.59 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.436, allocations: 6.656 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.4362, allocations: 47.03 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.4363, allocations: 23.5 kB / 0.522 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.4364, allocations: 33.14 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.4366, allocations: 116.7 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4367, allocations: 1.062 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4367, allocations: 0 / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.4367, allocations: 0 / 0.5221 GB, free: 1.562 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.0007187/0.4374, allocations: 407 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4375, allocations: 9.031 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.4376, allocations: 22.52 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.4379, allocations: 211.5 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4379, allocations: 1.469 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.4379, allocations: 7.125 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.4381, allocations: 53.98 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4381, allocations: 0.5625 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4381, allocations: 1.375 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4381, allocations: 1.375 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.4382, allocations: 21.95 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.4386, allocations: 290.7 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.4388, allocations: 60.98 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.4389, allocations: 23.75 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4389, allocations: 1.312 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.4391, allocations: 65.81 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4391, allocations: 0 / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007095/0.4398, allocations: 177.5 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.4399, allocations: 61.06 kB / 0.5235 GB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.4401, allocations: 196.3 kB / 0.5236 GB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4401, allocations: 31.53 kB / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.4402, allocations: 104.5 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.4403, allocations: 26.59 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.4403, allocations: 29.08 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4405, allocations: 326 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.4406, allocations: 22.7 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.4407, allocations: 38.42 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4408, allocations: 57.39 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4408, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002469/0.4411, allocations: 106.3 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4411, allocations: 5.156 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4411, allocations: 0.8438 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4412, allocations: 1.094 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4413, allocations: 15.16 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4413, allocations: 6.422 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.4414, allocations: 6.188 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.4414, allocations: 7.531 kB / 0.5244 GB, free: 15.54 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.0001261/0.4415, allocations: 133.1 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.4415, allocations: 15.02 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.4416, allocations: 16.38 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4416, allocations: 1.125 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4416, allocations: 0 / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4416, allocations: 6.047 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.4422, allocations: 394.9 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4422, allocations: 0 / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.4422, allocations: 9.484 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4422, allocations: 2.672 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4423, allocations: 4.828 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4423, allocations: 1.938 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4423, allocations: 4.594 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4425, allocations: 217.4 kB / 0.5252 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.4426, allocations: 85.34 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4426, allocations: 6.281 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.4427, allocations: 6.031 kB / 0.5253 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.4427, allocations: 5.594 kB / 0.5253 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.4427, allocations: 5.141 kB / 0.5253 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.4429, allocations: 151.1 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4429, allocations: 0 / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.4432, allocations: 25.53 kB / 0.5254 GB, free: 14.64 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.001152/0.4444, allocations: 467.9 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.4446, allocations: 65.3 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4446, allocations: 4.062 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.4446, allocations: 27.97 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.445, allocations: 28.55 kB / 0.526 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.4455, allocations: 219.1 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.446, allocations: 0.7106 MB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.4461, allocations: 22.42 kB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.4461, allocations: 14.92 kB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4461, allocations: 0 / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.005186/0.4513, allocations: 1.741 MB / 0.5286 GB, free: 12.93 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches