Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009188/0.0009189, allocations: 174.8 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.4 MB / 222.9 MB, free: 9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007262/0.0007261, allocations: 89.34 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09516, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001681/0.09687, allocations: 1.36 MB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000547/0.09744, allocations: 351.7 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.09749, allocations: 0 / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.09767, allocations: 19.91 kB / 492.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.09782, allocations: 39.78 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.09816, allocations: 139.8 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.0983, allocations: 79.69 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.09839, allocations: 16.22 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.09846, allocations: 27.92 kB / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.09852, allocations: 31.83 kB / 492.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.09855, allocations: 7.938 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.09864, allocations: 47.92 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.09869, allocations: 19.92 kB / 493 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.09874, allocations: 53.55 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.09888, allocations: 80.09 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.09889, allocations: 0 / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.0989, allocations: 0 / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.09891, allocations: 0 / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005069/0.09942, allocations: 423.1 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.09946, allocations: 8.031 kB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.0995, allocations: 8.844 kB / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.09968, allocations: 204 kB / 493.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.0997, allocations: 4.375 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.09972, allocations: 4.375 kB / 493.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.09999, allocations: 111.5 kB / 493.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1, allocations: 0 / 493.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1, allocations: 0 / 493.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1, allocations: 8 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.1003, allocations: 99.86 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.1008, allocations: 336.8 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1011, allocations: 86.53 kB / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1012, allocations: 60.88 kB / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1013, allocations: 8.047 kB / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1013, allocations: 34.56 kB / 494.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1013, allocations: 3.938 kB / 494.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00154/0.1029, allocations: 488.8 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1029, allocations: 81.11 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.103, allocations: 142 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1031, allocations: 29.7 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.1031, allocations: 100.1 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.1032, allocations: 19.66 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.1032, allocations: 4 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.1033, allocations: 326.8 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1036, allocations: 99.91 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.1038, allocations: 105.6 kB / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.1044, allocations: 204.7 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1044, allocations: 0 / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000579/0.1049, allocations: 249.5 kB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.105, allocations: 4 kB / 496.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.105, allocations: 0 / 496.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.105, allocations: 0 / 496.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.1052, allocations: 47.95 kB / 496.3 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1052, allocations: 4 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1054, allocations: 31.91 kB / 496.4 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1054, allocations: 4 kB / 496.4 MB, free: 4.859 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.88e-05/0.1055, allocations: 125.8 kB / 496.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1055, allocations: 15.84 kB / 496.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.1062, allocations: 254.2 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1062, allocations: 4 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1062, allocations: 0 / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1062, allocations: 4.312 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008612/0.1071, allocations: 0.5218 MB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1071, allocations: 4 kB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1073, allocations: 47.95 kB / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1073, allocations: 0 / 497.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1073, allocations: 7.938 kB / 497.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1073, allocations: 0 / 497.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1073, allocations: 0 / 497.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.1079, allocations: 335.3 kB / 497.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.108, allocations: 89 kB / 497.7 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.108, allocations: 11.94 kB / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1081, allocations: 31.91 kB / 497.8 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.1082, allocations: 11.98 kB / 497.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1082, allocations: 4 kB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.1083, allocations: 108.3 kB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1083, allocations: 4 kB / 497.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.1086, allocations: 35.94 kB / 497.9 MB, free: 3.164 MB / 378.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00086/0.1094, allocations: 449.5 kB / 498.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.11, allocations: 207.8 kB / 498.6 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.11, allocations: 4 kB / 498.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.1103, allocations: 111.8 kB / 498.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1107, allocations: 15.44 kB / 498.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1111, allocations: 254.8 kB / 499 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1114, allocations: 0.7043 MB / 499.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1114, allocations: 19.42 kB / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1114, allocations: 0 / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of Templates: time 0.1729/0.2844, allocations: 2.161 MB / 0.4901 GB, free: 42.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches