Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 109.8 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.001924/0.001924, allocations: 183.9 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.532/1.532, 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.2119/0.2119, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4293, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003644/0.433, allocations: 1.632 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000915/0.4339, allocations: 429.4 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.4339, allocations: 0 / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.4347, allocations: 446.3 kB / 0.5214 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.4352, allocations: 265.8 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.4356, allocations: 131.3 kB / 0.5217 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.4359, allocations: 165.4 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.436, allocations: 12.31 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.4362, allocations: 112 kB / 0.522 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.4365, allocations: 211.6 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.4365, allocations: 3.281 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4366, allocations: 31.64 kB / 0.5222 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.4368, allocations: 84.09 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.4369, allocations: 103.7 kB / 0.5224 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.4372, allocations: 262.4 kB / 0.5227 GB, free: 1.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4372, allocations: 0 / 0.5227 GB, free: 1.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4372, allocations: 1.156 kB / 0.5227 GB, free: 1.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4372, allocations: 0 / 0.5227 GB, free: 1.777 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.0006741/0.4379, allocations: 0.6454 MB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4379, allocations: 10.78 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.438, allocations: 47.47 kB / 0.5234 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4383, allocations: 291.9 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4383, allocations: 10.75 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4383, allocations: 6.531 kB / 0.5237 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4385, allocations: 61.34 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4385, allocations: 3.938 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4385, allocations: 0 / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4385, allocations: 0 / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.4387, allocations: 33.67 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.4392, allocations: 393.1 kB / 0.5241 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4394, allocations: 43.33 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.4394, allocations: 27.88 kB / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.4395, allocations: 0 / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4395, allocations: 32.73 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4395, allocations: 4 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008013/0.4403, allocations: 288 kB / 0.5245 GB, free: 288 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.4403, allocations: 52.81 kB / 0.5245 GB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.4412, allocations: 0.8549 MB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4412, allocations: 31.08 kB / 0.5254 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4414, allocations: 219 kB / 0.5256 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4414, allocations: 19.92 kB / 0.5256 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.4415, allocations: 17.84 kB / 0.5257 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4417, allocations: 364.7 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.4418, allocations: 33.75 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.4419, allocations: 35.22 kB / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.4421, allocations: 71.31 kB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4421, allocations: 0 / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002964/0.4424, allocations: 152.8 kB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4424, allocations: 5.5 kB / 0.5263 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4424, allocations: 8 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4424, allocations: 0 / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4425, allocations: 19.11 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4425, allocations: 1.375 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.4426, allocations: 13.42 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4426, allocations: 1.375 kB / 0.5263 GB, free: 15.11 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 0.000167/0.4428, allocations: 209.6 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.4428, allocations: 46.14 kB / 0.5266 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.4432, allocations: 171.4 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4432, allocations: 1.812 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4432, allocations: 0 / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4432, allocations: 4.938 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.4439, allocations: 496.5 kB / 0.5272 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4439, allocations: 0 / 0.5272 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.4439, allocations: 23.27 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4439, allocations: 0 / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.444, allocations: 13.11 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.444, allocations: 0 / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.444, allocations: 1.188 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.4443, allocations: 243.6 kB / 0.5275 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.4444, allocations: 110.1 kB / 0.5276 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.4444, allocations: 3.938 kB / 0.5276 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.4445, allocations: 14.11 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.4446, allocations: 7.016 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.4446, allocations: 6.062 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006378/0.4452, allocations: 0.6451 MB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4452, allocations: 4 kB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.4455, allocations: 20.31 kB / 0.5283 GB, free: 13.74 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.0008841/0.4463, allocations: 400 kB / 0.5287 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.4466, allocations: 73.28 kB / 0.5287 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4466, allocations: 7.938 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4467, allocations: 40 kB / 0.5288 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4471, allocations: 28 kB / 0.5288 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.4482, allocations: 0.7895 MB / 0.5296 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.4486, allocations: 0.8279 MB / 0.5304 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.4487, allocations: 17.59 kB / 0.5304 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.4487, allocations: 15.73 kB / 0.5304 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4487, allocations: 1.469 kB / 0.5304 GB, free: 12.27 MB / 398.1 MB Notification: Performance of Templates: time 0.004662/0.4534, allocations: 1.584 MB / 0.532 GB, free: 11.48 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches