Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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 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 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 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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001421/0.001421, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 72.05 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09522, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002467/0.09773, allocations: 1.604 MB / 443.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.09871, allocations: 0.9378 MB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.09877, allocations: 0 / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.09894, allocations: 27.84 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.09911, allocations: 43.78 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.09934, allocations: 111.3 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.09945, allocations: 59.84 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.09957, allocations: 20.11 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.09962, allocations: 23.91 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.09975, allocations: 31.86 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.09977, allocations: 4 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.09986, allocations: 59.89 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.09991, allocations: 19.92 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.09994, allocations: 15.88 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1001, allocations: 103.7 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1001, allocations: 0 / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1001, allocations: 0 / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1001, allocations: 0 / 445 MB, free: 3.082 MB / 318.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.0003729/0.1005, allocations: 387.2 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1005, allocations: 15.89 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1006, allocations: 12.78 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1007, allocations: 180.3 kB / 445.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1007, allocations: 4.375 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1007, allocations: 4.375 kB / 445.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1009, allocations: 79.33 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1009, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1009, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1009, allocations: 0 / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1011, allocations: 39.89 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.1013, allocations: 284.8 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1014, allocations: 42.56 kB / 446.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1015, allocations: 24.94 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1015, allocations: 0 / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.1016, allocations: 42.5 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1016, allocations: 0 / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005814/0.1022, allocations: 197.2 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1022, allocations: 85.05 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.1023, allocations: 133.8 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.1023, allocations: 25.7 kB / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.1023, allocations: 99.98 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1024, allocations: 31.7 kB / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.1024, allocations: 17.72 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.1024, allocations: 318.8 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.1025, allocations: 35.97 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-05/0.1026, allocations: 45.75 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1028, allocations: 76.84 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1028, allocations: 0 / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002025/0.103, allocations: 109.6 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.103, allocations: 5.25 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.103, allocations: 0 / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1031, allocations: 4 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.1031, allocations: 15.98 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1032, allocations: 4 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.1032, allocations: 15.92 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1032, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.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 (7): * Single equations (assignments): 7 * 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 4.992e-05/0.1033, allocations: 121.8 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.1033, allocations: 7.906 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.1036, allocations: 129.9 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1036, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1036, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1036, allocations: 7.922 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.104, allocations: 386.7 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.104, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.1041, allocations: 23.92 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1041, allocations: 4 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1041, allocations: 3.938 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1041, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1041, allocations: 3.984 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1044, allocations: 203.9 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1044, allocations: 85.02 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1045, allocations: 11.92 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.1045, allocations: 11.94 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1046, allocations: 7.984 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1046, allocations: 0 / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.1047, allocations: 106.6 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1047, allocations: 0 / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1049, allocations: 27.98 kB / 448.4 MB, free: 15.32 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0009015/0.1058, allocations: 446.7 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1061, allocations: 79.94 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1061, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1062, allocations: 43.91 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1065, allocations: 19.94 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.1069, allocations: 186.2 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1071, allocations: 0.6895 MB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.1072, allocations: 19.92 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1072, allocations: 15.44 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1072, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Templates: time 0.003647/0.1109, allocations: 1.506 MB / 451.4 MB, free: 12.37 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches