Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001233, allocations: 178.5 kB / 16.41 MB, free: 5.578 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.999/1.999, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.0007294/0.0007292, allocations: 86.3 kB / 270.9 MB, free: 8.379 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.3153/0.3153, allocations: 43.57 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004009, allocations: 15.98 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001904/0.1109, allocations: 1.313 MB / 491.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.1114, allocations: 327.8 kB / 491.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1115, allocations: 4 kB / 491.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.112, allocations: 439.2 kB / 492.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1123, allocations: 243.5 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1126, allocations: 139.8 kB / 492.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1129, allocations: 135.7 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.113, allocations: 27.77 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.1131, allocations: 103.8 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1132, allocations: 163.7 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1133, allocations: 4 kB / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.1134, allocations: 31.98 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.1135, allocations: 87.67 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1135, allocations: 65.52 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1137, allocations: 179.7 kB / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1137, allocations: 0 / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1137, allocations: 0 / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1137, allocations: 0 / 493.5 MB, free: 8.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006662/0.1144, allocations: 0.6028 MB / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1145, allocations: 20.02 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.1145, allocations: 39.48 kB / 494.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1148, allocations: 279.3 kB / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1148, allocations: 4 kB / 494.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1149, allocations: 4 kB / 494.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.115, allocations: 61.67 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1151, allocations: 0 / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1151, allocations: 0 / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1151, allocations: 4 kB / 494.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1153, allocations: 55.86 kB / 494.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.1158, allocations: 400.8 kB / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1159, allocations: 50.56 kB / 495 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.116, allocations: 28.94 kB / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.116, allocations: 4 kB / 495 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1161, allocations: 34.55 kB / 495 MB, free: 6.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1161, allocations: 3.938 kB / 495 MB, free: 6.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008918/0.117, allocations: 343.8 kB / 495.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.117, allocations: 55.34 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.1178, allocations: 0.8574 MB / 496.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1178, allocations: 33.58 kB / 496.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.118, allocations: 212.1 kB / 496.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.118, allocations: 19.66 kB / 496.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.118, allocations: 0 / 496.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1182, allocations: 366.8 kB / 496.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1183, allocations: 47.97 kB / 496.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1185, allocations: 44.05 kB / 497 MB, free: 4.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1186, allocations: 55.95 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1186, allocations: 0 / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003369/0.1189, allocations: 169.1 kB / 497.2 MB, free: 4.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.119, allocations: 11.95 kB / 497.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.119, allocations: 0 / 497.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.119, allocations: 0 / 497.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1191, allocations: 27.92 kB / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1191, allocations: 0 / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.1192, allocations: 19.98 kB / 497.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1193, allocations: 4 kB / 497.3 MB, free: 3.98 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 (7): * Single equations (assignments): 7 * 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 0.0001871/0.1194, allocations: 213.8 kB / 497.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.1195, allocations: 43.44 kB / 497.5 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.1199, allocations: 197.7 kB / 497.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1199, allocations: 0 / 497.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1199, allocations: 3.938 kB / 497.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1199, allocations: 0 / 497.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/0.1206, allocations: 0.518 MB / 498.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1206, allocations: 7.938 kB / 498.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.1207, allocations: 27.98 kB / 498.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1207, allocations: 288 / 498.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1207, allocations: 0 / 498.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1208, allocations: 4 kB / 498.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1208, allocations: 0 / 498.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1211, allocations: 274.8 kB / 498.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1212, allocations: 116.6 kB / 498.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1212, allocations: 0 / 498.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1214, allocations: 19.98 kB / 498.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1214, allocations: 7.984 kB / 498.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1214, allocations: 7.938 kB / 498.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000565/0.122, allocations: 0.6433 MB / 499.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 499.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.1222, allocations: 27.98 kB / 499.4 MB, free: 1.777 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 (7): * Single equations (assignments): 7 * 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.0008028/0.123, allocations: 397.4 kB / 499.7 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1234, allocations: 107.9 kB / 499.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1234, allocations: 0 / 499.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1235, allocations: 55.97 kB / 499.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1239, allocations: 21.95 kB / 499.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.125, allocations: 0.8977 MB / 0.4891 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1856/0.3106, allocations: 0.823 MB / 0.4899 GB, free: 42.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3107, allocations: 13.56 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3107, allocations: 2.875 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of Templates: time 0.007101/0.3178, allocations: 3.797 MB / 0.4936 GB, free: 42.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches