Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.623/1.623, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001076/0.001076, allocations: 101.6 kB / 291.9 MB, free: 10.94 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.3627/0.3627, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009688, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3337, allocations: 60.8 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002747/0.3365, allocations: 1.703 MB / 0.508 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006085/0.3371, allocations: 421.9 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.3372, allocations: 1 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.3374, allocations: 58.61 kB / 0.5085 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3375, allocations: 44.34 kB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3378, allocations: 117.5 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.338, allocations: 74.69 kB / 0.5087 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.338, allocations: 15.94 kB / 0.5087 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.3381, allocations: 29.97 kB / 0.5088 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.3382, allocations: 39.41 kB / 0.5088 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3382, allocations: 2.969 kB / 0.5088 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.3383, allocations: 55.09 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.3383, allocations: 27.75 kB / 0.5089 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.3384, allocations: 28.92 kB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3385, allocations: 91.53 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3385, allocations: 3.281 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3385, allocations: 0 / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3385, allocations: 0 / 0.509 GB, free: 36.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003789/0.3389, allocations: 415.3 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.339, allocations: 11.31 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.339, allocations: 11.72 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3391, allocations: 192.1 kB / 0.5096 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3392, allocations: 3.219 kB / 0.5096 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3392, allocations: 14.8 kB / 0.5096 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3393, allocations: 61.05 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3393, allocations: 3.938 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3394, allocations: 2.969 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3394, allocations: 0 / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3395, allocations: 42.41 kB / 0.5097 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.3398, allocations: 299 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.34, allocations: 56.61 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.3401, allocations: 28.11 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3401, allocations: 6.047 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.3401, allocations: 30.56 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3401, allocations: 0 / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001221/0.3414, allocations: 393.8 kB / 0.5105 GB, free: 35.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.3414, allocations: 58.31 kB / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3415, allocations: 176.4 kB / 0.5107 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.3415, allocations: 25.7 kB / 0.5108 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.3416, allocations: 101.8 kB / 0.5109 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3416, allocations: 33.59 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.3416, allocations: 29.61 kB / 0.5109 GB, free: 35.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.3417, allocations: 321 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3418, allocations: 45.44 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.3419, allocations: 42 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3421, allocations: 97.06 kB / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3421, allocations: 0 / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002589/0.3424, allocations: 152.6 kB / 0.5115 GB, free: 34.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3424, allocations: 12.42 kB / 0.5116 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3424, allocations: 0 / 0.5116 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3425, allocations: 2.656 kB / 0.5116 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3426, allocations: 21.47 kB / 0.5116 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3426, allocations: 3.812 kB / 0.5116 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.3426, allocations: 6.625 kB / 0.5116 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3426, allocations: 6.75 kB / 0.5116 GB, free: 34.59 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 (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 6.519e-05/0.3427, allocations: 126.7 kB / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.3428, allocations: 13.78 kB / 0.5117 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.3431, allocations: 166.4 kB / 0.5119 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3431, allocations: 2.625 kB / 0.5119 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3431, allocations: 0 / 0.5119 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3431, allocations: 7.281 kB / 0.5119 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.3436, allocations: 463.9 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3436, allocations: 2.688 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.3437, allocations: 29.02 kB / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3437, allocations: 3 kB / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3438, allocations: 0 / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3438, allocations: 2.812 kB / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3438, allocations: 0 / 0.5124 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.3443, allocations: 0.8604 MB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3443, allocations: 87.73 kB / 0.5133 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3443, allocations: 10.75 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.3444, allocations: 13.03 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3445, allocations: 12.88 kB / 0.5133 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3445, allocations: 2.875 kB / 0.5133 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.3446, allocations: 138.9 kB / 0.5135 GB, free: 32.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3446, allocations: 2.75 kB / 0.5135 GB, free: 32.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.3449, allocations: 25.5 kB / 0.5135 GB, free: 32.98 MB / 378.7 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.0008643/0.3458, allocations: 463.3 kB / 0.5139 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.3461, allocations: 106.6 kB / 0.514 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3461, allocations: 0 / 0.514 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3462, allocations: 63.97 kB / 0.5141 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3466, allocations: 22.2 kB / 0.5141 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.3471, allocations: 442.5 kB / 0.5145 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.3472, allocations: 0.7052 MB / 0.5152 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.3473, allocations: 24.08 kB / 0.5153 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.3473, allocations: 14.19 kB / 0.5153 GB, free: 31.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3473, allocations: 3.938 kB / 0.5153 GB, free: 31.64 MB / 378.7 MB Notification: Performance of Templates: time 0.00378/0.3511, allocations: 1.453 MB / 0.5167 GB, free: 31.48 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches