Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008616, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 178.8 kB / 16.57 MB, free: 6.844 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.429/1.429, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3215/0.3215, allocations: 43.54 MB / 314.5 MB, free: 8.742 MB / 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.0004987/0.0004988, allocations: 20 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002088/0.1094, allocations: 1.607 MB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1107, allocations: 0.8941 MB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.1108, allocations: 0 / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.111, allocations: 35.78 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1113, allocations: 139.6 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.1123, allocations: 0.5107 MB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.1125, allocations: 179.6 kB / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1127, allocations: 72.72 kB / 446.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1128, allocations: 91.61 kB / 446.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.113, allocations: 143.5 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1131, allocations: 8 kB / 446.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.1131, allocations: 23.98 kB / 446.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1133, allocations: 131.6 kB / 446.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.1133, allocations: 77.45 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1136, allocations: 279.4 kB / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1136, allocations: 0 / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1136, allocations: 0 / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1136, allocations: 4 kB / 446.9 MB, free: 8.867 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008797/0.1145, allocations: 0.7076 MB / 447.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.1146, allocations: 8.031 kB / 447.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1146, allocations: 59.25 kB / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.1152, allocations: 435 kB / 448.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1152, allocations: 15.92 kB / 448.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.1153, allocations: 8 kB / 448.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1155, allocations: 139.3 kB / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1156, allocations: 4 kB / 448.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1156, allocations: 4 kB / 448.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1156, allocations: 11.95 kB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1158, allocations: 99.86 kB / 448.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.1167, allocations: 0.7033 MB / 449.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1169, allocations: 117.2 kB / 449.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.117, allocations: 8 kB / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.117, allocations: 34.69 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.117, allocations: 0 / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001285/0.1183, allocations: 0.5723 MB / 449.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1183, allocations: 85.06 kB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.1192, allocations: 0.8818 MB / 450.8 MB, free: 4.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1192, allocations: 25.7 kB / 450.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1194, allocations: 260.5 kB / 451.1 MB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.1195, allocations: 59.14 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.1195, allocations: 3.938 kB / 451.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1196, allocations: 374.8 kB / 451.5 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1198, allocations: 71.89 kB / 451.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1199, allocations: 89.66 kB / 451.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1201, allocations: 88.09 kB / 451.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1201, allocations: 0 / 451.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00043/0.1206, allocations: 252.9 kB / 452 MB, free: 3.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1206, allocations: 4 kB / 452 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1206, allocations: 0 / 452 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1206, allocations: 4 kB / 452 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1208, allocations: 47.97 kB / 452.1 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1208, allocations: 3.953 kB / 452.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.121, allocations: 15.98 kB / 452.1 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.121, allocations: 4 kB / 452.1 MB, free: 3.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.00019/0.1212, allocations: 225.7 kB / 452.3 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.1213, allocations: 55.25 kB / 452.3 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.1219, allocations: 311.1 kB / 452.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1219, allocations: 4 kB / 452.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1219, allocations: 0 / 452.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1219, allocations: 3.953 kB / 452.7 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1229, allocations: 0.8216 MB / 453.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1229, allocations: 4 kB / 453.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1231, allocations: 39.97 kB / 453.5 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1231, allocations: 4 kB / 453.5 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1231, allocations: 15.88 kB / 453.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1231, allocations: 4 kB / 453.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1232, allocations: 0 / 453.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.1237, allocations: 431.8 kB / 454 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1238, allocations: 160.3 kB / 454.1 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.1239, allocations: 3.984 kB / 454.1 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1241, allocations: 20 kB / 454.1 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.1241, allocations: 15.97 kB / 454.2 MB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1241, allocations: 4 kB / 454.2 MB, free: 1.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000614/0.1248, allocations: 0.6432 MB / 454.8 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1248, allocations: 7.938 kB / 454.8 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1251, allocations: 52 kB / 454.9 MB, free: 0.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0007963/0.1259, allocations: 418.3 kB / 455.3 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1794/0.3053, allocations: 173.3 kB / 455.4 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.3053, allocations: 0.9375 kB / 455.4 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.3057, allocations: 94.03 kB / 455.5 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.3064, allocations: 65.67 kB / 455.6 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3077, allocations: 0.9658 MB / 456.6 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.3079, allocations: 0.8774 MB / 457.4 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3081, allocations: 97.67 kB / 457.5 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.3082, allocations: 36 kB / 457.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3082, allocations: 0 / 457.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006549/0.3148, allocations: 3.822 MB / 461.4 MB, free: 45.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches