Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.001152/0.001152, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.505/1.505, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2655/0.2655, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4254, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.00362/0.4291, allocations: 1.627 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4308, allocations: 1.034 MB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.4308, allocations: 1.406 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.4311, allocations: 27.3 kB / 0.5215 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.4314, allocations: 41.75 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.4317, allocations: 129 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4319, allocations: 68.91 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4321, allocations: 17.45 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.4321, allocations: 21.12 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.4323, allocations: 35.47 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.4324, allocations: 3.469 kB / 0.5218 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.4325, allocations: 43.28 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.4326, allocations: 27.09 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.4327, allocations: 19.27 kB / 0.5219 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.4329, allocations: 97.48 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4329, allocations: 0.9688 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4329, allocations: 0 / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.4329, allocations: 0 / 0.522 GB, free: 1.508 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.0004991/0.4334, allocations: 388.8 kB / 0.5224 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4335, allocations: 9.766 kB / 0.5224 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.4335, allocations: 12.31 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.4337, allocations: 192.2 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4338, allocations: 2.188 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4338, allocations: 10.47 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.434, allocations: 77.05 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.434, allocations: 0 / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.434, allocations: 1.156 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.434, allocations: 1.891 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.4342, allocations: 35.45 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.4345, allocations: 283.5 kB / 0.523 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4347, allocations: 48.53 kB / 0.523 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.4348, allocations: 24.8 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.4348, allocations: 4 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4348, allocations: 32.45 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4348, allocations: 1.344 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007719/0.4356, allocations: 193.8 kB / 0.5233 GB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4357, allocations: 82.27 kB / 0.5234 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.4358, allocations: 139 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4358, allocations: 25.7 kB / 0.5235 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.4359, allocations: 97.53 kB / 0.5236 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.4359, allocations: 24.88 kB / 0.5236 GB, free: 16 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.436, allocations: 19.78 kB / 0.5237 GB, free: 16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4361, allocations: 319.4 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4363, allocations: 33.55 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4364, allocations: 48 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.4366, allocations: 73.23 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4366, allocations: 4.688 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002721/0.4369, allocations: 120.6 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4369, allocations: 4.625 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4369, allocations: 1.875 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.437, allocations: 0 / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.4371, allocations: 19.27 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4371, allocations: 1.094 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.4372, allocations: 21.34 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.4372, allocations: 1.156 kB / 0.5243 GB, free: 15.55 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.0001043/0.4373, allocations: 120.9 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.4374, allocations: 7.312 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.4377, allocations: 117.9 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4377, allocations: 2.219 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4377, allocations: 4 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4377, allocations: 3.938 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.4383, allocations: 385.5 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4383, allocations: 1.938 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.4384, allocations: 18.66 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4384, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4384, allocations: 9.75 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4385, allocations: 4 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4385, allocations: 5.469 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.4388, allocations: 205.3 kB / 0.5251 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.4388, allocations: 79.23 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.4389, allocations: 10 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.4389, allocations: 12.56 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.439, allocations: 6.734 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.439, allocations: 1.312 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.425e-05/0.4391, allocations: 107.7 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4391, allocations: 0 / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.4394, allocations: 22.8 kB / 0.5253 GB, free: 14.66 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.001059/0.4405, allocations: 456.1 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.4408, allocations: 77.84 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4408, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4409, allocations: 41.95 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.4412, allocations: 21.91 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.4417, allocations: 187.2 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4421, allocations: 0.6945 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.4421, allocations: 16.5 kB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.4422, allocations: 23.61 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4422, allocations: 0 / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.005313/0.4475, allocations: 1.51 MB / 0.5283 GB, free: 13.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches