Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001064, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001026/0.001026, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2069/0.2069, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3766, allocations: 60.81 MB / 0.5189 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003431/0.38, allocations: 1.653 MB / 0.5205 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3811, allocations: 443.4 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.3812, allocations: 1.219 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.3816, allocations: 68.59 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.3819, allocations: 52.78 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.3823, allocations: 180.1 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3825, allocations: 79.38 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3826, allocations: 20.77 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.3827, allocations: 34.41 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3828, allocations: 43.14 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3828, allocations: 7.062 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3829, allocations: 48.83 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.383, allocations: 25.2 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.3831, allocations: 27.02 kB / 0.5215 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3833, allocations: 112.3 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3833, allocations: 0 / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3833, allocations: 0 / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3833, allocations: 1.094 kB / 0.5216 GB, free: 1.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004873/0.3838, allocations: 416.4 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3839, allocations: 14.34 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3839, allocations: 12.34 kB / 0.5221 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3841, allocations: 200.3 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3841, allocations: 2.375 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3841, allocations: 11.02 kB / 0.5223 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3843, allocations: 66.94 kB / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3844, allocations: 0 / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3844, allocations: 0.8125 kB / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3844, allocations: 1.062 kB / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3845, allocations: 47.3 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.385, allocations: 312.8 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3852, allocations: 56.52 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.3853, allocations: 38.88 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3853, allocations: 1.844 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.3854, allocations: 32.41 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3854, allocations: 0 / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001452/0.3868, allocations: 424.6 kB / 0.5232 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3869, allocations: 58.33 kB / 0.5233 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.387, allocations: 179.4 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.387, allocations: 26.89 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.3871, allocations: 103.4 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3871, allocations: 43.42 kB / 0.5236 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3872, allocations: 23.58 kB / 0.5236 GB, free: 320 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.3873, allocations: 322.1 kB / 0.5239 GB, free: 16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3874, allocations: 60.8 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3876, allocations: 51.17 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.3879, allocations: 127 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3879, allocations: 0 / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003634/0.3883, allocations: 169.1 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3883, allocations: 6.359 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3883, allocations: 3.938 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3883, allocations: 5.344 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3884, allocations: 25.45 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3884, allocations: 4.453 kB / 0.5244 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.3885, allocations: 13.59 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3885, allocations: 2 kB / 0.5244 GB, free: 15.82 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 (11): * Single equations (assignments): 11 * 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.0001052/0.3886, allocations: 132.9 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3887, allocations: 9.469 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.3891, allocations: 189.9 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3891, allocations: 1.688 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3891, allocations: 0.7031 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3892, allocations: 2.078 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.3899, allocations: 0.4892 MB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3899, allocations: 2.141 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.39, allocations: 28.52 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.39, allocations: 5.797 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.39, allocations: 10.47 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.39, allocations: 1.906 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.39, allocations: 0 / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.3904, allocations: 275.9 kB / 0.5255 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.3905, allocations: 93.39 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3905, allocations: 6.891 kB / 0.5256 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.3906, allocations: 13.56 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.3907, allocations: 9.078 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3907, allocations: 3.188 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.3908, allocations: 137 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3908, allocations: 0 / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3911, allocations: 28.31 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009952/0.3921, allocations: 459.2 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.3924, allocations: 139.4 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3924, allocations: 0 / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3926, allocations: 66.88 kB / 0.5264 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.393, allocations: 28.59 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.3935, allocations: 287.5 kB / 0.5267 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3938, allocations: 0.7186 MB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.881e-05/0.3939, allocations: 29.03 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.394, allocations: 15.81 kB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.394, allocations: 0 / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Templates: time 0.004325/0.3983, allocations: 1.609 MB / 0.529 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches