Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 113.4 kB / 17.78 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.001507/0.001507, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2341/0.2341, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 64.09 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4373, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003257/0.4406, allocations: 1.564 MB / 0.5204 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.4422, allocations: 1.02 MB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.4423, allocations: 5.312 kB / 0.5214 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4426, allocations: 20.09 kB / 0.5215 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.4428, allocations: 44.73 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.4431, allocations: 84.66 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.4433, allocations: 55.73 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.4435, allocations: 12.31 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.4436, allocations: 26.61 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.4437, allocations: 25.61 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4438, allocations: 3.531 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.4439, allocations: 53.81 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.4439, allocations: 12.25 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.444, allocations: 21.47 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.4442, allocations: 89.81 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4442, allocations: 0.75 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4442, allocations: 0 / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4442, allocations: 1 kB / 0.5219 GB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004552/0.4447, allocations: 377.8 kB / 0.5222 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4447, allocations: 9.844 kB / 0.5222 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.4448, allocations: 11.94 kB / 0.5223 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.445, allocations: 183.8 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.445, allocations: 1.625 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.445, allocations: 6.25 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4452, allocations: 69.94 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4452, allocations: 3.938 kB / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4452, allocations: 5.094 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4452, allocations: 1.188 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.4453, allocations: 22.17 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.4457, allocations: 268.3 kB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.4459, allocations: 44.2 kB / 0.5228 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.446, allocations: 20.86 kB / 0.5229 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.446, allocations: 1.875 kB / 0.5229 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.446, allocations: 31.75 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.446, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005927/0.4466, allocations: 143 kB / 0.523 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.4467, allocations: 87.12 kB / 0.5231 GB, free: 384 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4468, allocations: 130.7 kB / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4469, allocations: 30.95 kB / 0.5233 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.4469, allocations: 88.38 kB / 0.5233 GB, free: 152 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4469, allocations: 23.17 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.447, allocations: 15.42 kB / 0.5234 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4471, allocations: 323.2 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.4472, allocations: 18.61 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.4473, allocations: 34.58 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.4474, allocations: 50.83 kB / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4474, allocations: 0 / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001968/0.4476, allocations: 77.3 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4477, allocations: 5.609 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4477, allocations: 4.031 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4477, allocations: 0.875 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.4478, allocations: 12.88 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4478, allocations: 0 / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.4478, allocations: 6.391 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4478, allocations: 5.344 kB / 0.5239 GB, free: 15.69 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 (5): * Single equations (assignments): 5 * 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.659e-05/0.448, allocations: 121.8 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.448, allocations: 7.781 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.4483, allocations: 91.62 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4483, allocations: 1.797 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4483, allocations: 1.031 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4483, allocations: 0 / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.4487, allocations: 342.8 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4488, allocations: 1.406 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.4488, allocations: 19.8 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4488, allocations: 5 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4489, allocations: 0 / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4489, allocations: 5.641 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4489, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.4492, allocations: 177.5 kB / 0.5246 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.4492, allocations: 78.91 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4493, allocations: 1.875 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.4494, allocations: 12.3 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.4494, allocations: 4.312 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4494, allocations: 2.312 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.4495, allocations: 103.8 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4495, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.4498, allocations: 23.3 kB / 0.5249 GB, free: 14.82 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 (5): * Single equations (assignments): 5 * 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.001075/0.4509, allocations: 458.3 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.4511, allocations: 45.23 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4511, allocations: 0 / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.4512, allocations: 27.77 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.4516, allocations: 19.31 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.452, allocations: 150.2 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.4523, allocations: 0.6944 MB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.438e-05/0.4524, allocations: 7.828 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.4524, allocations: 14.75 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4524, allocations: 4 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004571/0.457, allocations: 1.361 MB / 0.5276 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches