Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 118.4 kB / 17.79 MB, free: 5.285 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.001247/0.001248, allocations: 183 kB / 18.71 MB, free: 4.363 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2311/0.2311, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4226, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004724/0.4274, allocations: 1.639 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.4286, allocations: 435.3 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.4287, allocations: 1.062 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.4299, allocations: 458.7 kB / 0.5214 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.4305, allocations: 252.4 kB / 0.5216 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.4309, allocations: 130.1 kB / 0.5217 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.4312, allocations: 167.9 kB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.4313, allocations: 22.88 kB / 0.5219 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.4315, allocations: 113.4 kB / 0.522 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.4318, allocations: 211.9 kB / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.4318, allocations: 3.938 kB / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4319, allocations: 51.72 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.4321, allocations: 89 kB / 0.5224 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.4322, allocations: 102.5 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.4325, allocations: 270.4 kB / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4325, allocations: 0 / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4325, allocations: 0 / 0.5227 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4325, allocations: 0 / 0.5227 GB, free: 1.742 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.0007341/0.4333, allocations: 0.6451 MB / 0.5234 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4333, allocations: 8.781 kB / 0.5234 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.4334, allocations: 42.97 kB / 0.5234 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.4337, allocations: 305.9 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.4337, allocations: 1.625 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.4337, allocations: 8.016 kB / 0.5237 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4339, allocations: 68.39 kB / 0.5238 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4339, allocations: 0 / 0.5238 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.434, allocations: 0 / 0.5238 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.434, allocations: 5.859 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.4341, allocations: 39.56 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.4347, allocations: 396.9 kB / 0.5242 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.4349, allocations: 61.61 kB / 0.5243 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.435, allocations: 25.39 kB / 0.5243 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4351, allocations: 5.812 kB / 0.5243 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4351, allocations: 39.41 kB / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.4351, allocations: 0 / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001531/0.4366, allocations: 447.8 kB / 0.5248 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4367, allocations: 58.81 kB / 0.5248 GB, free: 160 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.4375, allocations: 0.8476 MB / 0.5256 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4376, allocations: 35.05 kB / 0.5257 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.4378, allocations: 214.5 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.4378, allocations: 36.67 kB / 0.5259 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.4379, allocations: 28.3 kB / 0.5259 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4381, allocations: 356.3 kB / 0.5263 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4382, allocations: 42.81 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.4383, allocations: 52.58 kB / 0.5264 GB, free: 15.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.4386, allocations: 99.16 kB / 0.5265 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4386, allocations: 1.281 kB / 0.5265 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003536/0.439, allocations: 162.6 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.439, allocations: 9.688 kB / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.439, allocations: 0 / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.439, allocations: 1.344 kB / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4391, allocations: 31 kB / 0.5267 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4392, allocations: 9.062 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.4392, allocations: 17.42 kB / 0.5267 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4393, allocations: 3.25 kB / 0.5267 GB, free: 14.92 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.000226/0.4395, allocations: 210.9 kB / 0.5269 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.4396, allocations: 46.44 kB / 0.5269 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.44, allocations: 200.3 kB / 0.5271 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.44, allocations: 6.281 kB / 0.5271 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4401, allocations: 0 / 0.5271 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4401, allocations: 3.984 kB / 0.5271 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.4409, allocations: 0.5718 MB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.441, allocations: 0 / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.4411, allocations: 29.52 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4411, allocations: 1.375 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4411, allocations: 1.25 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4411, allocations: 1.406 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4411, allocations: 5.062 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.4415, allocations: 283.6 kB / 0.528 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.4416, allocations: 110.5 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.4417, allocations: 6.25 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4418, allocations: 17.52 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.4419, allocations: 9.672 kB / 0.5281 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4419, allocations: 2.406 kB / 0.5281 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007862/0.4427, allocations: 0.6452 MB / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4427, allocations: 0 / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000289/0.443, allocations: 36.58 kB / 0.5288 GB, free: 13.44 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.001083/0.4441, allocations: 457 kB / 0.5292 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.4444, allocations: 105.1 kB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4444, allocations: 5.438 kB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.4445, allocations: 61.38 kB / 0.5294 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4449, allocations: 29.95 kB / 0.5294 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4462, allocations: 0.8264 MB / 0.5302 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.4467, allocations: 0.8319 MB / 0.5311 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.4467, allocations: 16.09 kB / 0.5311 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.4468, allocations: 14.25 kB / 0.5311 GB, free: 11.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4468, allocations: 0 / 0.5311 GB, free: 11.89 MB / 398.1 MB Notification: Performance of Templates: time 0.005605/0.4524, allocations: 1.852 MB / 0.5329 GB, free: 10.97 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches