Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.00126/0.00126, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2517/0.2517, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.447, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.0036/0.4506, allocations: 1.707 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.4533, allocations: 1.484 MB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.4534, allocations: 0.9688 kB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.4538, allocations: 36.22 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.4542, allocations: 59.83 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.4546, allocations: 117.9 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.4548, allocations: 95.97 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.4549, allocations: 15.56 kB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.455, allocations: 46.95 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.4552, allocations: 38.84 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.4553, allocations: 4.5 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.4554, allocations: 58.56 kB / 0.5226 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.4555, allocations: 15.56 kB / 0.5226 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.4555, allocations: 34.2 kB / 0.5226 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.4558, allocations: 125.5 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4558, allocations: 0 / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4558, allocations: 0 / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4559, allocations: 5.125 kB / 0.5227 GB, free: 1.066 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.000556/0.4564, allocations: 398.5 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4565, allocations: 9.062 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.4565, allocations: 9.891 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.4568, allocations: 204.8 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4568, allocations: 6.547 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4568, allocations: 5.594 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.457, allocations: 74.83 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.457, allocations: 1.531 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.457, allocations: 4.688 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4571, allocations: 1.312 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.4571, allocations: 17.81 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.4575, allocations: 284.2 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.4577, allocations: 64.02 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.4577, allocations: 20.34 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.4578, allocations: 1.812 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.4579, allocations: 65.58 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4579, allocations: 0 / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/0.4585, allocations: 166.5 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.4586, allocations: 79.97 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4588, allocations: 156.9 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.4588, allocations: 27.61 kB / 0.5243 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4589, allocations: 94.91 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.4589, allocations: 25.39 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.459, allocations: 26.67 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4591, allocations: 324.3 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.4592, allocations: 26 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.4593, allocations: 40.73 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.4594, allocations: 61.39 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4594, allocations: 1.375 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.4596, allocations: 100.1 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4596, allocations: 6.312 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4596, allocations: 4.375 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4597, allocations: 2.516 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.4598, allocations: 18.08 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4598, allocations: 1.656 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.4598, allocations: 11.45 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4598, allocations: 2.375 kB / 0.525 GB, free: 15.04 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.000109/0.46, allocations: 122.6 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.46, allocations: 8.828 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.46, allocations: 17.72 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4601, allocations: 1.75 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4601, allocations: 3.938 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4601, allocations: 4.641 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.4606, allocations: 393.2 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4606, allocations: 0 / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.4606, allocations: 8.641 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.4606, allocations: 1.344 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4607, allocations: 14.39 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4607, allocations: 1.312 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4607, allocations: 1.688 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.4609, allocations: 199.5 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.461, allocations: 84.5 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.461, allocations: 11.89 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.4611, allocations: 2.203 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.4611, allocations: 9.812 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4612, allocations: 4.047 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4613, allocations: 116.7 kB / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4613, allocations: 0 / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.4616, allocations: 33.8 kB / 0.526 GB, free: 14.16 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.001458/0.463, allocations: 0.4939 MB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.4633, allocations: 64.47 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4633, allocations: 4.062 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.4634, allocations: 28.41 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4638, allocations: 35.66 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.4644, allocations: 193.1 kB / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4648, allocations: 0.6999 MB / 0.5274 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.4649, allocations: 18.45 kB / 0.5275 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.465, allocations: 19.08 kB / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.465, allocations: 1.281 kB / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Templates: time 0.006939/0.4719, allocations: 1.994 MB / 0.5294 GB, free: 12.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches