Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001585/0.001585, allocations: 185 kB / 18.71 MB, free: 4.32 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.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2147/0.2147, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4587, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00293/0.4616, allocations: 1.594 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.4624, allocations: 410.7 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.4625, allocations: 1.125 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.4628, allocations: 92.3 kB / 0.521 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.4631, allocations: 78.84 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.4634, allocations: 104.2 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.4636, allocations: 76.48 kB / 0.5212 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4637, allocations: 19.89 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.4638, allocations: 38.75 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4639, allocations: 53.67 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4639, allocations: 3.25 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4641, allocations: 39.7 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.4641, allocations: 24.11 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.4642, allocations: 30.94 kB / 0.5214 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.4644, allocations: 110 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4644, allocations: 0 / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4644, allocations: 1.469 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4644, allocations: 0 / 0.5215 GB, free: 1.988 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.0004806/0.4649, allocations: 407.3 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.465, allocations: 13.25 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.465, allocations: 18.7 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.4652, allocations: 191.2 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4652, allocations: 5.531 kB / 0.5221 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4652, allocations: 3.656 kB / 0.5221 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4654, allocations: 60.81 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4654, allocations: 1.031 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4654, allocations: 0 / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4655, allocations: 5.156 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4656, allocations: 26.42 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.466, allocations: 302.5 kB / 0.5225 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.4661, allocations: 49.44 kB / 0.5226 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.4661, allocations: 19.53 kB / 0.5226 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.4662, allocations: 4.938 kB / 0.5226 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.4662, allocations: 36.28 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4662, allocations: 0 / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009502/0.4672, allocations: 235.4 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.4672, allocations: 57.17 kB / 0.5229 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.4674, allocations: 228 kB / 0.5231 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.4674, allocations: 27.55 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.4675, allocations: 108.4 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.4675, allocations: 25.5 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.4676, allocations: 26.3 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.4677, allocations: 322.1 kB / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.4677, allocations: 38.05 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.4678, allocations: 30.84 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.468, allocations: 72.34 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.468, allocations: 0 / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002039/0.4682, allocations: 113.4 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4682, allocations: 4.812 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4683, allocations: 4.75 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4683, allocations: 4.969 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4684, allocations: 21.72 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.703e-05/0.4684, allocations: 8.047 kB / 0.5239 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.4685, allocations: 6.906 kB / 0.5239 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4685, allocations: 5.703 kB / 0.5239 GB, free: 15.99 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 (8): * Single equations (assignments): 8 * 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.0001485/0.4686, allocations: 129.7 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.4687, allocations: 8.844 kB / 0.524 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.469, allocations: 136.6 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.469, allocations: 1.281 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.469, allocations: 3.938 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.469, allocations: 1.125 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.4696, allocations: 414.9 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4696, allocations: 1.078 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.4697, allocations: 28.08 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4697, allocations: 1.312 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.4697, allocations: 1.75 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4697, allocations: 1.125 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4698, allocations: 1.625 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.47, allocations: 213.2 kB / 0.5248 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.4701, allocations: 93.81 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.4701, allocations: 8.734 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.4702, allocations: 5.188 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4703, allocations: 6.344 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4703, allocations: 2.344 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.4704, allocations: 172.8 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4704, allocations: 5.438 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.4707, allocations: 20.09 kB / 0.5251 GB, free: 15.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001066/0.4718, allocations: 455.7 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.472, allocations: 83.64 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4721, allocations: 2.75 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4722, allocations: 36.16 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.4725, allocations: 21.31 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.473, allocations: 274.6 kB / 0.5259 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4734, allocations: 0.7191 MB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.4734, allocations: 20.73 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.4735, allocations: 13.59 kB / 0.5267 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4735, allocations: 1.375 kB / 0.5267 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004993/0.4785, allocations: 1.384 MB / 0.528 GB, free: 13.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches