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.001108/0.001108, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001166/0.001167, allocations: 181 kB / 18.71 MB, free: 4.207 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1945/0.1945, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3467, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002489/0.3492, allocations: 1.626 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3505, allocations: 1.035 MB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.3505, allocations: 1.25 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3507, allocations: 22.41 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.3509, allocations: 42.41 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3512, allocations: 128.4 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3513, allocations: 65.61 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.3514, allocations: 17.81 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.3515, allocations: 24.36 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3516, allocations: 30.92 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3517, allocations: 4.5 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3518, allocations: 55.48 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.3518, allocations: 18.97 kB / 0.5219 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3519, allocations: 23.17 kB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.3521, allocations: 97.52 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3521, allocations: 1.344 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3521, allocations: 0 / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3521, allocations: 0 / 0.522 GB, free: 1.5 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.0003828/0.3525, allocations: 388.2 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3525, allocations: 10.25 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3526, allocations: 12.69 kB / 0.5224 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3527, allocations: 189.3 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3527, allocations: 1.375 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3527, allocations: 7.203 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3529, allocations: 78.06 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3529, allocations: 0 / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3529, allocations: 0 / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3529, allocations: 1.031 kB / 0.5227 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3531, allocations: 41.16 kB / 0.5227 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.3533, allocations: 287.2 kB / 0.523 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3534, allocations: 45.12 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.3535, allocations: 23.12 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3535, allocations: 5.922 kB / 0.5231 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.3536, allocations: 31.59 kB / 0.5231 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3536, allocations: 3.938 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006703/0.3542, allocations: 202.4 kB / 0.5233 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3543, allocations: 83.78 kB / 0.5234 GB, free: 260 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.3544, allocations: 130.5 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3544, allocations: 29.7 kB / 0.5235 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.3544, allocations: 93.7 kB / 0.5236 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3545, allocations: 24.34 kB / 0.5236 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3545, allocations: 21.42 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.3546, allocations: 318.4 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3547, allocations: 38.98 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3549, allocations: 46.12 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3551, allocations: 69.03 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3551, allocations: 9.125 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002498/0.3553, allocations: 113.3 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3554, allocations: 4.312 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3554, allocations: 3.984 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.3554, allocations: 1.469 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3555, allocations: 19.41 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3555, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.3556, allocations: 18.3 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3556, allocations: 1.25 kB / 0.5243 GB, free: 15.54 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 7.485e-05/0.3557, allocations: 116.6 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3557, allocations: 7.562 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.356, allocations: 126.3 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.356, allocations: 1.672 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.356, allocations: 4 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.356, allocations: 4.453 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.3565, allocations: 382.8 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3565, allocations: 4 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.3566, allocations: 22.88 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3566, allocations: 1.531 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3566, allocations: 8.547 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3566, allocations: 1.406 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3567, allocations: 0 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.3569, allocations: 206.7 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.357, allocations: 87.12 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.357, allocations: 4.547 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.3571, allocations: 17.98 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3571, allocations: 4.562 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3572, allocations: 3.094 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.3572, allocations: 103.1 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3572, allocations: 0 / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3575, allocations: 25.89 kB / 0.5254 GB, free: 14.64 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.0009172/0.3584, allocations: 455.1 kB / 0.5258 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.3587, allocations: 78.7 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3587, allocations: 0 / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3588, allocations: 44.66 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3592, allocations: 23.91 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.3596, allocations: 176.6 kB / 0.5261 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3598, allocations: 0.6998 MB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3599, allocations: 19.55 kB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.3599, allocations: 15.89 kB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3599, allocations: 0 / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.003814/0.3637, allocations: 1.501 MB / 0.5283 GB, free: 13.02 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