Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 117.2 kB / 17.78 MB, free: 5.266 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.0009637/0.0009637, allocations: 185 kB / 18.71 MB, free: 4.344 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.467/1.467, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2339/0.2339, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4098, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003426/0.4133, allocations: 1.584 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.4142, allocations: 402.2 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.4144, allocations: 0 / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.4149, allocations: 73.09 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.4152, allocations: 62.92 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.4156, allocations: 97.78 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.4158, allocations: 74.38 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.416, allocations: 14.34 kB / 0.5212 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.416, allocations: 33.52 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.4162, allocations: 57.41 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.4162, allocations: 3.406 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.4164, allocations: 43.44 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.4165, allocations: 26.22 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.4166, allocations: 23.8 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.4168, allocations: 103 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4169, allocations: 0 / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4169, allocations: 0 / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4169, allocations: 3.938 kB / 0.5214 GB, free: 1.996 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.0005656/0.4175, allocations: 410.2 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4175, allocations: 9.188 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.4176, allocations: 13.75 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.4178, allocations: 193.6 kB / 0.522 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4178, allocations: 1.594 kB / 0.522 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.4179, allocations: 3.266 kB / 0.522 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.418, allocations: 68.66 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4181, allocations: 0 / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4181, allocations: 1.625 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4181, allocations: 0 / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4182, allocations: 29.5 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4187, allocations: 293.1 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4189, allocations: 47.25 kB / 0.5225 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.4189, allocations: 19.25 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.419, allocations: 1.578 kB / 0.5225 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.419, allocations: 31.12 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.419, allocations: 5.188 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001066/0.4201, allocations: 214 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4201, allocations: 53.11 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.4204, allocations: 206.5 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4204, allocations: 34.73 kB / 0.523 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.4205, allocations: 109.4 kB / 0.5231 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.4205, allocations: 28.14 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.4206, allocations: 21.02 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.4207, allocations: 321.4 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.4208, allocations: 26.7 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.4208, allocations: 30.75 kB / 0.5235 GB, free: 136 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.421, allocations: 63.3 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.421, allocations: 0 / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002004/0.4212, allocations: 101.2 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4212, allocations: 5.906 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4212, allocations: 0.7031 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4213, allocations: 1.312 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4214, allocations: 16.83 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4214, allocations: 12.62 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.4214, allocations: 4.422 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4215, allocations: 3.031 kB / 0.5237 GB, free: 40 kB / 382.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 (8): * Single equations (assignments): 8 * 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.0001196/0.4216, allocations: 126.1 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.4216, allocations: 8.781 kB / 0.5238 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.4219, allocations: 118.6 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4219, allocations: 1.812 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4219, allocations: 11.88 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.422, allocations: 0.9375 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.4225, allocations: 399.5 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4226, allocations: 1.938 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.4226, allocations: 24.12 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4226, allocations: 1.734 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4227, allocations: 6.109 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4227, allocations: 5.5 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4227, allocations: 0 / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.423, allocations: 199.7 kB / 0.5246 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.423, allocations: 88.11 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.423, allocations: 9.453 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.4231, allocations: 13.31 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.4232, allocations: 6.188 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4232, allocations: 2.312 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.4233, allocations: 161 kB / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4234, allocations: 0 / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.4236, allocations: 17.78 kB / 0.5249 GB, free: 15.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001107/0.4247, allocations: 455.6 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.425, allocations: 63.98 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.425, allocations: 1.781 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.4251, allocations: 38.28 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4255, allocations: 22.14 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.426, allocations: 253.1 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.4264, allocations: 0.7097 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.4265, allocations: 17.48 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.4265, allocations: 18 kB / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4265, allocations: 0 / 0.5264 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004544/0.4311, allocations: 1.325 MB / 0.5277 GB, free: 13.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches