Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001014/0.001014, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.35/1.35, allocations: 222.9 MB / 243.1 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.2279/0.2279, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.84 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003071/0.3605, allocations: 1.646 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.3613, allocations: 450.8 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.3613, allocations: 1.188 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.3616, allocations: 70.98 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.3619, allocations: 63.91 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.3623, allocations: 179.6 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3625, allocations: 87.45 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3626, allocations: 28.53 kB / 0.522 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.3627, allocations: 36.08 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3628, allocations: 53.45 kB / 0.5221 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3628, allocations: 3.438 kB / 0.5221 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.363, allocations: 43.55 kB / 0.5222 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.363, allocations: 31.19 kB / 0.5222 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3631, allocations: 32.23 kB / 0.5222 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.3633, allocations: 118.2 kB / 0.5223 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3633, allocations: 4.75 kB / 0.5223 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3633, allocations: 1 kB / 0.5223 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3633, allocations: 0 / 0.5223 GB, free: 1.875 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.0004246/0.3638, allocations: 417.4 kB / 0.5227 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3638, allocations: 8.406 kB / 0.5228 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.3638, allocations: 15.48 kB / 0.5228 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.364, allocations: 194.7 kB / 0.523 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.364, allocations: 6.531 kB / 0.523 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.364, allocations: 6.438 kB / 0.523 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3642, allocations: 70.83 kB / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3642, allocations: 0 / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3643, allocations: 6.25 kB / 0.523 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3643, allocations: 1.156 kB / 0.523 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3644, allocations: 45.7 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.3648, allocations: 328.9 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.365, allocations: 56.08 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.3651, allocations: 31.09 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3652, allocations: 4.828 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.3652, allocations: 33.03 kB / 0.5235 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3652, allocations: 4 kB / 0.5235 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001448/0.3666, allocations: 404.7 kB / 0.5239 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.3667, allocations: 61.78 kB / 0.524 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3669, allocations: 211 kB / 0.5242 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3669, allocations: 30.92 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.3669, allocations: 105.5 kB / 0.5243 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.367, allocations: 38.83 kB / 0.5243 GB, free: 300 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.367, allocations: 22.86 kB / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.3671, allocations: 323.6 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3673, allocations: 54.94 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3674, allocations: 52.91 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.3677, allocations: 130.3 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3677, allocations: 0 / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003544/0.3681, allocations: 164 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3681, allocations: 4.641 kB / 0.5251 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3681, allocations: 0 / 0.5251 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3681, allocations: 4 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3682, allocations: 30.89 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3682, allocations: 0.5625 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.3683, allocations: 13.27 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3683, allocations: 2.844 kB / 0.5251 GB, free: 15.8 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.0001172/0.3684, allocations: 138 kB / 0.5252 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.3685, allocations: 14.86 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.3689, allocations: 196.9 kB / 0.5254 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.369, allocations: 9.141 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.369, allocations: 0 / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.369, allocations: 1.219 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.3697, allocations: 0.5009 MB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3697, allocations: 1.188 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3699, allocations: 29.88 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3699, allocations: 1.312 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3699, allocations: 6.25 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3699, allocations: 2.328 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3699, allocations: 1.219 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.3703, allocations: 273.9 kB / 0.5262 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3704, allocations: 93.75 kB / 0.5263 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.3704, allocations: 2.391 kB / 0.5263 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.3705, allocations: 14.16 kB / 0.5263 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.3705, allocations: 15.22 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3706, allocations: 4.219 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3707, allocations: 156 kB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3707, allocations: 0 / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.371, allocations: 28.86 kB / 0.5265 GB, free: 14.73 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.001061/0.3721, allocations: 450 kB / 0.527 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.3724, allocations: 129.9 kB / 0.5271 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3725, allocations: 0 / 0.5271 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3726, allocations: 75.34 kB / 0.5272 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.373, allocations: 30.39 kB / 0.5272 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.3736, allocations: 332.9 kB / 0.5275 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.374, allocations: 0.7229 MB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.374, allocations: 16.67 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.374, allocations: 3.938 kB / 0.5282 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004767/0.3788, allocations: 2.053 MB / 0.5302 GB, free: 12.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches