Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, 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.001443/0.001443, allocations: 183.8 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.536/1.536, 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.2314/0.2314, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4475, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003399/0.451, allocations: 1.575 MB / 0.5204 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.4527, allocations: 1.016 MB / 0.5214 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.4527, allocations: 4.875 kB / 0.5214 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.453, allocations: 20.5 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.4533, allocations: 41.67 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.4536, allocations: 92.62 kB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.4538, allocations: 54.97 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.4539, allocations: 11.83 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.454, allocations: 23.38 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.4542, allocations: 32.17 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.4542, allocations: 3.719 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.4543, allocations: 50.12 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.4544, allocations: 20.67 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.4544, allocations: 17.12 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.4546, allocations: 86.78 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4546, allocations: 0 / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4547, allocations: 0 / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4547, allocations: 0 / 0.5219 GB, free: 1.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004526/0.4551, allocations: 385 kB / 0.5222 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4552, allocations: 9.812 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.4552, allocations: 13.03 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.4554, allocations: 183.8 kB / 0.5224 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.4554, allocations: 5.5 kB / 0.5224 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.4555, allocations: 6.719 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4556, allocations: 65.28 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4556, allocations: 0 / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4557, allocations: 5 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4557, allocations: 0 / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.4558, allocations: 22.3 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.4561, allocations: 273.4 kB / 0.5228 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.4564, allocations: 39.11 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.4564, allocations: 22.2 kB / 0.5229 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4564, allocations: 1.031 kB / 0.5229 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4565, allocations: 40.39 kB / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4565, allocations: 0 / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005846/0.4571, allocations: 140.6 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4571, allocations: 81.11 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.4573, allocations: 131.6 kB / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4573, allocations: 25.7 kB / 0.5233 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.4573, allocations: 89.27 kB / 0.5233 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.4574, allocations: 24.09 kB / 0.5234 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.4574, allocations: 14.75 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4575, allocations: 323 kB / 0.5237 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.4576, allocations: 17.73 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.4577, allocations: 32.45 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4578, allocations: 50.16 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4579, allocations: 0.75 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.458, allocations: 80.11 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4581, allocations: 9.312 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4581, allocations: 1.562 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4581, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.4582, allocations: 12.45 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.4582, allocations: 1.312 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.4582, allocations: 8.516 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4583, allocations: 5.703 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.678e-05/0.4584, allocations: 118.5 kB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.4584, allocations: 7 kB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4587, allocations: 96.5 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4587, allocations: 1.094 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4587, allocations: 0.7031 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4587, allocations: 5 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.4592, allocations: 347 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4592, allocations: 0 / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.4593, allocations: 20.52 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4593, allocations: 1.094 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4593, allocations: 0 / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4593, allocations: 5 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4593, allocations: 0.6562 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.4596, allocations: 176.7 kB / 0.5246 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.4596, allocations: 80.31 kB / 0.5247 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4597, allocations: 0.75 kB / 0.5247 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.4597, allocations: 9.312 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.4598, allocations: 4.094 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4598, allocations: 0.6562 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.4599, allocations: 108.5 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.46, allocations: 0 / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.4602, allocations: 24.22 kB / 0.5249 GB, free: 14.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00111/0.4614, allocations: 441 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.4616, allocations: 50.36 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4616, allocations: 0 / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.4617, allocations: 26.8 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.462, allocations: 20.52 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.4624, allocations: 163 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4628, allocations: 0.6973 MB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.4629, allocations: 9.953 kB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4629, allocations: 15.69 kB / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4629, allocations: 0 / 0.5262 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.004662/0.4676, allocations: 1.348 MB / 0.5276 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches