Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.00168/0.00168, allocations: 183.8 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.516/1.516, 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.252/0.252, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 59.84 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4211, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003424/0.4246, allocations: 1.622 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.4263, allocations: 1.038 MB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.4264, allocations: 1 kB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.4266, allocations: 22.36 kB / 0.5215 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.4269, allocations: 41.94 kB / 0.5216 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.4273, allocations: 136.4 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.4275, allocations: 58.86 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4276, allocations: 22.06 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.4277, allocations: 23.64 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.4279, allocations: 30.69 kB / 0.5218 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4279, allocations: 4.094 kB / 0.5218 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.4281, allocations: 51.58 kB / 0.5219 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.4281, allocations: 20.22 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.4282, allocations: 22.08 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.4284, allocations: 93.89 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4285, allocations: 0.6094 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4285, allocations: 0 / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.4285, allocations: 5.125 kB / 0.522 GB, free: 1.484 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.0006085/0.4291, allocations: 387.9 kB / 0.5224 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4292, allocations: 13.47 kB / 0.5224 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.4292, allocations: 9.453 kB / 0.5224 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.4294, allocations: 191.4 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4294, allocations: 1.719 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.4295, allocations: 2.625 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.4297, allocations: 77.03 kB / 0.5227 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4297, allocations: 0.6562 kB / 0.5227 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4297, allocations: 1.062 kB / 0.5227 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4298, allocations: 1.281 kB / 0.5227 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.4299, allocations: 40.31 kB / 0.5227 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.4303, allocations: 287.4 kB / 0.523 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4305, allocations: 44.5 kB / 0.523 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.4306, allocations: 27.38 kB / 0.5231 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4306, allocations: 1.062 kB / 0.5231 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4306, allocations: 36.28 kB / 0.5231 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4306, allocations: 0 / 0.5231 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008362/0.4315, allocations: 203.8 kB / 0.5233 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4315, allocations: 77.77 kB / 0.5234 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4317, allocations: 138.1 kB / 0.5235 GB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4317, allocations: 27.14 kB / 0.5235 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.4317, allocations: 97.02 kB / 0.5236 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.4318, allocations: 24.91 kB / 0.5236 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.4319, allocations: 20.25 kB / 0.5237 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.432, allocations: 319.2 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4321, allocations: 30.25 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.4323, allocations: 46.44 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.4325, allocations: 81.42 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4325, allocations: 3.938 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003003/0.4328, allocations: 109.6 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4329, allocations: 8.344 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4329, allocations: 4 kB / 0.5242 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4329, allocations: 0 / 0.5242 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.433, allocations: 20.08 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4331, allocations: 0.75 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.4331, allocations: 18.08 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4332, allocations: 1.562 kB / 0.5243 GB, free: 15.52 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 9.42e-05/0.4332, allocations: 115.8 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.4333, allocations: 7.125 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.4336, allocations: 130.9 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4337, allocations: 1.406 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4337, allocations: 0 / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4337, allocations: 4.641 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.4342, allocations: 381.3 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4343, allocations: 1.188 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.4344, allocations: 27.34 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.4344, allocations: 0 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4344, allocations: 9.938 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4344, allocations: 0 / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4344, allocations: 1.375 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.4347, allocations: 213.6 kB / 0.5251 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.4348, allocations: 79.7 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.4348, allocations: 5.75 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.4349, allocations: 8.938 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.435, allocations: 9.891 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.435, allocations: 2.375 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.739e-05/0.4351, allocations: 110.5 kB / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4351, allocations: 4 kB / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.4354, allocations: 23.36 kB / 0.5254 GB, free: 14.62 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.001133/0.4365, allocations: 432.8 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.4369, allocations: 81.98 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4369, allocations: 0 / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.437, allocations: 43.84 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.0004167/0.4375, allocations: 18.86 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.438, allocations: 181.6 kB / 0.5261 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4383, allocations: 0.6996 MB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.817e-05/0.4384, allocations: 24.56 kB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.4384, allocations: 14.84 kB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4384, allocations: 0.9375 kB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.005049/0.4435, allocations: 1.511 MB / 0.5283 GB, free: 13.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches