Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001864/0.001864, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.533/1.533, allocations: 222.9 MB / 243 MB, free: 15.08 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.2119/0.2119, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 70.48 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08707, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002258/0.08935, allocations: 1.623 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.08996, allocations: 443 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.09, allocations: 0 / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.0904, allocations: 451.1 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.09067, allocations: 251.5 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.09093, allocations: 127.4 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.0911, allocations: 175.6 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.09117, allocations: 19.98 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.09126, allocations: 111.8 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.09143, allocations: 207.6 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.09146, allocations: 4 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-05/0.09154, allocations: 55.91 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.09162, allocations: 91.62 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.09169, allocations: 99.05 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.0919, allocations: 274.9 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.09191, allocations: 0 / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.09192, allocations: 0 / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09193, allocations: 0 / 474.6 MB, free: 9.73 MB / 350.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.0005145/0.09244, allocations: 0.6376 MB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.137e-05/0.09247, allocations: 11.97 kB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.09253, allocations: 48.38 kB / 475.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.09274, allocations: 296.1 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.09275, allocations: 4.375 kB / 475.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.09277, allocations: 12.38 kB / 475.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.0929, allocations: 65.73 kB / 475.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.09292, allocations: 0 / 475.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.09293, allocations: 0 / 475.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.09293, allocations: 3.984 kB / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.09305, allocations: 39.91 kB / 475.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.09341, allocations: 396.6 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.09359, allocations: 54.59 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.09366, allocations: 24.97 kB / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.09368, allocations: 11.94 kB / 476.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.0937, allocations: 34.55 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.09371, allocations: 4 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001165/0.09488, allocations: 451.7 kB / 476.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.09491, allocations: 55.34 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.09555, allocations: 0.8495 MB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.09557, allocations: 33.7 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.0957, allocations: 219.9 kB / 477.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.09573, allocations: 35.47 kB / 477.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.09577, allocations: 25.7 kB / 477.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.09588, allocations: 358.8 kB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.09598, allocations: 39.97 kB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.09609, allocations: 52 kB / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.0963, allocations: 100.8 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.0963, allocations: 0 / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002738/0.09658, allocations: 169.6 kB / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.0966, allocations: 4 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.09661, allocations: 0 / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.09662, allocations: 4 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.09672, allocations: 35.84 kB / 478.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.09673, allocations: 4 kB / 478.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.0968, allocations: 15.98 kB / 478.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.09681, allocations: 4 kB / 478.6 MB, free: 5.449 MB / 350.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.0001393/0.09696, allocations: 209.8 kB / 478.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.09701, allocations: 39.53 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.09735, allocations: 209.2 kB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.09736, allocations: 7.938 kB / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.09737, allocations: 0 / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.09738, allocations: 3.984 kB / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.09799, allocations: 0.5663 MB / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.098, allocations: 4 kB / 479.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.09809, allocations: 23.98 kB / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.0981, allocations: 0 / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.09811, allocations: 0 / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.09812, allocations: 4 kB / 479.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.09812, allocations: 0 / 479.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.09843, allocations: 292.5 kB / 480 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.09851, allocations: 108.5 kB / 480.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.09854, allocations: 4 kB / 480.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.09864, allocations: 11.98 kB / 480.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.09868, allocations: 15.98 kB / 480.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.09869, allocations: 0 / 480.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004777/0.09917, allocations: 0.6472 MB / 480.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09918, allocations: 0 / 480.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.09943, allocations: 35.98 kB / 480.8 MB, free: 3.164 MB / 350.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.0008243/0.1003, allocations: 464.6 kB / 481.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1005, allocations: 99.94 kB / 481.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.1005, allocations: 0 / 481.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1007, allocations: 67.84 kB / 481.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.101, allocations: 33.55 kB / 481.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.1018, allocations: 0.8439 MB / 482.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1021, allocations: 0.8299 MB / 483.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.1022, allocations: 16.44 kB / 483.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1022, allocations: 15.44 kB / 483.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1022, allocations: 0 / 483.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Templates: time 0.1664/0.2686, allocations: 1.834 MB / 485 MB, free: 15.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches