Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 182.4 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.3 MB / 242.1 MB, free: 11.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008122/0.000812, allocations: 84.91 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2862/0.2862, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3006, allocations: 61.88 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.4057, allocations: 88.92 MB / 0.5976 GB, free: 6.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4059, allocations: 75.95 kB / 0.5976 GB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4225, allocations: 7.997 MB / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4225, allocations: 0 / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.4225, allocations: 8 kB / 0.6055 GB, free: 14.05 MB / 426.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.0006379/0.4232, allocations: 0.6261 MB / 0.6061 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.4232, allocations: 8.031 kB / 0.6061 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.4233, allocations: 44.38 kB / 0.6061 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.4237, allocations: 360 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.4237, allocations: 4.375 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4238, allocations: 4.375 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4239, allocations: 66.17 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4239, allocations: 192 / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.424, allocations: 3.938 kB / 0.6065 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.424, allocations: 3.984 kB / 0.6065 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4241, allocations: 51.97 kB / 0.6066 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.4247, allocations: 468.5 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4248, allocations: 46.56 kB / 0.6071 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.4249, allocations: 32.88 kB / 0.6071 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4249, allocations: 0 / 0.6071 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.425, allocations: 38.56 kB / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.425, allocations: 0 / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000801/0.4258, allocations: 336 kB / 0.6075 GB, free: 11.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4258, allocations: 55.41 kB / 0.6075 GB, free: 11.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.427, allocations: 0.8418 MB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.427, allocations: 33.7 kB / 0.6084 GB, free: 10.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.4272, allocations: 220 kB / 0.6086 GB, free: 10.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.4272, allocations: 23.59 kB / 0.6086 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.4272, allocations: 0 / 0.6086 GB, free: 10.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4274, allocations: 370.7 kB / 0.609 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4275, allocations: 43.97 kB / 0.609 GB, free: 10.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4276, allocations: 44.05 kB / 0.609 GB, free: 10.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.4278, allocations: 108.9 kB / 0.6091 GB, free: 10.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4278, allocations: 3.984 kB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00031/0.4281, allocations: 169.2 kB / 0.6093 GB, free: 9.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4282, allocations: 8 kB / 0.6093 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4282, allocations: 0 / 0.6093 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4282, allocations: 0 / 0.6093 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4283, allocations: 23.92 kB / 0.6093 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4283, allocations: 4 kB / 0.6093 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.4284, allocations: 15.98 kB / 0.6094 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4284, allocations: 8 kB / 0.6094 GB, free: 9.816 MB / 426.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.0001755/0.4286, allocations: 218.2 kB / 0.6096 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.4287, allocations: 43.44 kB / 0.6096 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4291, allocations: 193.4 kB / 0.6098 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4291, allocations: 0 / 0.6098 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4291, allocations: 3.938 kB / 0.6098 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4291, allocations: 7.922 kB / 0.6098 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.4299, allocations: 0.6545 MB / 0.6105 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.43, allocations: 4 kB / 0.6105 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.43, allocations: 23.98 kB / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4301, allocations: 0 / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4301, allocations: 4 kB / 0.6105 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4301, allocations: 0 / 0.6105 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4301, allocations: 3.938 kB / 0.6105 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.4304, allocations: 270.9 kB / 0.6107 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.4306, allocations: 164.5 kB / 0.6109 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.4306, allocations: 0 / 0.6109 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4308, allocations: 19.98 kB / 0.6109 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.4308, allocations: 11.92 kB / 0.6109 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.4308, allocations: 7.938 kB / 0.6109 GB, free: 8.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006517/0.4315, allocations: 0.6355 MB / 0.6116 GB, free: 7.461 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4315, allocations: 0 / 0.6116 GB, free: 7.461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.4318, allocations: 67.92 kB / 0.6116 GB, free: 7.395 MB / 426.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.001204/0.433, allocations: 402.7 kB / 0.612 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.4333, allocations: 111.8 kB / 0.6121 GB, free: 7.043 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4334, allocations: 4 kB / 0.6121 GB, free: 7.039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4335, allocations: 51.97 kB / 0.6122 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.4339, allocations: 32.89 kB / 0.6122 GB, free: 6.961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.435, allocations: 0.9352 MB / 0.6131 GB, free: 5.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.4354, allocations: 0.8417 MB / 0.6139 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4355, allocations: 48.89 kB / 0.614 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.4356, allocations: 23.44 kB / 0.614 GB, free: 5.055 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4356, allocations: 0 / 0.614 GB, free: 5.055 MB / 426.7 MB Notification: Performance of Templates: time 0.005742/0.4414, allocations: 2.535 MB / 0.6165 GB, free: 2.523 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches