Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001357, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00118/0.00118, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.367/1.367, 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.2091/0.2091, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4139, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002941/0.4168, allocations: 1.647 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.4175, allocations: 416.5 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.4176, allocations: 4.906 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.4178, allocations: 68.19 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.4181, allocations: 61.66 kB / 0.5211 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.4184, allocations: 129.8 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4185, allocations: 83.45 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.4186, allocations: 27.55 kB / 0.5213 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.4187, allocations: 33.45 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.4188, allocations: 49.94 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.4188, allocations: 7.781 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.4189, allocations: 51.95 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.419, allocations: 25.62 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.419, allocations: 31.16 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.4192, allocations: 109.3 kB / 0.5216 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4192, allocations: 4 kB / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4192, allocations: 3.938 kB / 0.5216 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.4192, allocations: 1.094 kB / 0.5216 GB, free: 1.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004608/0.4197, allocations: 417.8 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4198, allocations: 9.469 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.4198, allocations: 9.453 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.42, allocations: 194.4 kB / 0.5222 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.42, allocations: 5.5 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.42, allocations: 3.906 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.4202, allocations: 67.42 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4202, allocations: 5.297 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4202, allocations: 4.75 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4202, allocations: 0.9375 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.4204, allocations: 35.53 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.4207, allocations: 312.5 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.421, allocations: 53.58 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.4211, allocations: 32.48 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4211, allocations: 1.094 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.4211, allocations: 40.28 kB / 0.5227 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.4211, allocations: 1.25 kB / 0.5227 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001386/0.4225, allocations: 377.8 kB / 0.5231 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4226, allocations: 61.06 kB / 0.5232 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4228, allocations: 205.2 kB / 0.5234 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.4228, allocations: 29.7 kB / 0.5234 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.4228, allocations: 105 kB / 0.5235 GB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.4229, allocations: 35.69 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.4229, allocations: 21.95 kB / 0.5235 GB, free: 336 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.423, allocations: 331.5 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4231, allocations: 39.62 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4233, allocations: 44.66 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.4235, allocations: 101.6 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4235, allocations: 0 / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003216/0.4239, allocations: 147.7 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4239, allocations: 3.594 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4239, allocations: 6.438 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4239, allocations: 0 / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.424, allocations: 28.64 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.424, allocations: 2.328 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.4241, allocations: 8.531 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.4241, allocations: 2.891 kB / 0.5242 GB, free: 15.86 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 (11): * Single equations (assignments): 11 * 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.0001076/0.4242, allocations: 132.4 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4243, allocations: 20.91 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.4246, allocations: 161.7 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4246, allocations: 11.19 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4247, allocations: 4 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4247, allocations: 0.6562 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.4253, allocations: 478.8 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4253, allocations: 2.281 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.4254, allocations: 24.59 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4254, allocations: 1.594 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.4254, allocations: 6.25 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4255, allocations: 2.297 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4255, allocations: 3.938 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.4258, allocations: 253.5 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.4259, allocations: 90.22 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4259, allocations: 5.672 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.426, allocations: 13.55 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.4261, allocations: 12.17 kB / 0.5254 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4261, allocations: 3.562 kB / 0.5254 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4262, allocations: 151.2 kB / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4262, allocations: 0 / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.4265, allocations: 23.3 kB / 0.5256 GB, free: 14.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001087/0.4276, allocations: 469.3 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.428, allocations: 103.9 kB / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.428, allocations: 4 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4281, allocations: 59.36 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4285, allocations: 28.03 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.4291, allocations: 280.8 kB / 0.5265 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4295, allocations: 0.7164 MB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.4296, allocations: 10.08 kB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.4296, allocations: 16.2 kB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.214e-06/0.4296, allocations: 0 / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of Templates: time 0.004625/0.4342, allocations: 1.56 MB / 0.5287 GB, free: 13.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches