Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 112.8 kB / 17.74 MB, free: 5.43 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.001468/0.001468, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.264/1.264, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2063/0.2063, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3757, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003271/0.379, allocations: 1.628 MB / 0.5204 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3806, allocations: 1.059 MB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3806, allocations: 1.125 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3809, allocations: 20.92 kB / 0.5215 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3811, allocations: 44.88 kB / 0.5215 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3816, allocations: 180.3 kB / 0.5217 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3817, allocations: 67.89 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3819, allocations: 16.22 kB / 0.5218 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.3819, allocations: 25.55 kB / 0.5218 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3821, allocations: 36.12 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3821, allocations: 7.062 kB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3823, allocations: 48.03 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.3823, allocations: 25.09 kB / 0.5219 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.3824, allocations: 19.3 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3826, allocations: 100.1 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3826, allocations: 0 / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3826, allocations: 1.125 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3826, allocations: 0 / 0.522 GB, free: 1.457 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.0005934/0.3832, allocations: 395.4 kB / 0.5224 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3833, allocations: 9.281 kB / 0.5224 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.3834, allocations: 9.156 kB / 0.5224 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3836, allocations: 186.8 kB / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3836, allocations: 1.5 kB / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.3836, allocations: 7.266 kB / 0.5226 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3839, allocations: 83.83 kB / 0.5227 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3839, allocations: 1.734 kB / 0.5227 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3839, allocations: 0 / 0.5227 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3839, allocations: 5.031 kB / 0.5227 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3841, allocations: 43.92 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.3846, allocations: 302.5 kB / 0.523 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3848, allocations: 52.19 kB / 0.5231 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.3849, allocations: 24.38 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3849, allocations: 1.922 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3849, allocations: 35.59 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3849, allocations: 0 / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008129/0.3857, allocations: 231 kB / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3858, allocations: 78.2 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3859, allocations: 132.6 kB / 0.5236 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3859, allocations: 26.36 kB / 0.5236 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.386, allocations: 93.72 kB / 0.5237 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.386, allocations: 24.12 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3861, allocations: 21 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3862, allocations: 323.5 kB / 0.524 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3863, allocations: 38.19 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3865, allocations: 56.38 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.3867, allocations: 90.64 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3867, allocations: 0 / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002825/0.387, allocations: 130 kB / 0.5243 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3871, allocations: 4.375 kB / 0.5243 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3871, allocations: 1.438 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3871, allocations: 4.844 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3872, allocations: 18.64 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3872, allocations: 1.406 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.3873, allocations: 13.11 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3873, allocations: 6.328 kB / 0.5244 GB, free: 15.47 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 (7): * Single equations (assignments): 7 * 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 8.987e-05/0.3874, allocations: 117.5 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3875, allocations: 6.969 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.3878, allocations: 140.5 kB / 0.5246 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3878, allocations: 1.703 kB / 0.5246 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3878, allocations: 0 / 0.5246 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3879, allocations: 5.797 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.3885, allocations: 404.3 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3885, allocations: 4 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.3886, allocations: 22.59 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3886, allocations: 1.531 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3886, allocations: 4.453 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3886, allocations: 1.094 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3886, allocations: 0.6094 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.389, allocations: 223.5 kB / 0.5253 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.389, allocations: 83.75 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.389, allocations: 4.594 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.3891, allocations: 12.58 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.3892, allocations: 7.656 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3892, allocations: 1.688 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.373e-05/0.3893, allocations: 106.7 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.3893, allocations: 0 / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3896, allocations: 34.89 kB / 0.5255 GB, free: 14.56 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 (7): * Single equations (assignments): 7 * 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.001026/0.3906, allocations: 441.7 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.3909, allocations: 90.78 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.391, allocations: 3.938 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3911, allocations: 50.48 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3914, allocations: 22.08 kB / 0.5261 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3919, allocations: 205.3 kB / 0.5263 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3921, allocations: 0.7052 MB / 0.527 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.784e-05/0.3922, allocations: 31.19 kB / 0.527 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.3923, allocations: 14.39 kB / 0.527 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3923, allocations: 1.375 kB / 0.527 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.004074/0.3964, allocations: 1.524 MB / 0.5285 GB, free: 12.87 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches