Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001043/0.001044, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.212/1.212, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1869/0.1869, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 60.82 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002508/0.3348, allocations: 1.653 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.3355, allocations: 447.9 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.3356, allocations: 1.25 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.3358, allocations: 78.58 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.336, allocations: 58.64 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3364, allocations: 176.7 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3365, allocations: 91.42 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.3366, allocations: 20.69 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.3367, allocations: 40.33 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.3368, allocations: 52.48 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3368, allocations: 4.344 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.3369, allocations: 47.53 kB / 0.5215 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.337, allocations: 30.56 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.337, allocations: 32.42 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3372, allocations: 114.8 kB / 0.5217 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3372, allocations: 0 / 0.5217 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3372, allocations: 5.094 kB / 0.5217 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3372, allocations: 0 / 0.5217 GB, free: 1.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003753/0.3376, allocations: 417 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3376, allocations: 9.562 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.3377, allocations: 17.86 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3378, allocations: 198.7 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3379, allocations: 6.25 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3379, allocations: 4.062 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.338, allocations: 66.17 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3381, allocations: 1.188 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3381, allocations: 4 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3381, allocations: 1.828 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3382, allocations: 43.09 kB / 0.5224 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3386, allocations: 327.4 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3388, allocations: 56.42 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.3389, allocations: 27.39 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3389, allocations: 9.031 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.339, allocations: 36.33 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.339, allocations: 0 / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001393/0.3404, allocations: 418.2 kB / 0.5232 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.3404, allocations: 60.78 kB / 0.5233 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3406, allocations: 211.7 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3406, allocations: 30.7 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.3406, allocations: 101.1 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.3406, allocations: 35.59 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.3407, allocations: 26.83 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.3408, allocations: 323.1 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3409, allocations: 55.56 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3411, allocations: 55.88 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.3413, allocations: 122.8 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3413, allocations: 1.562 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003286/0.3417, allocations: 165 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3417, allocations: 5.375 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3417, allocations: 0.5625 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3417, allocations: 1.75 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3418, allocations: 32.66 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3419, allocations: 9.469 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.3419, allocations: 8.438 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3419, allocations: 6.641 kB / 0.5244 GB, free: 15.79 MB / 398.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 9.826e-05/0.342, allocations: 138.1 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3421, allocations: 15.38 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.3425, allocations: 190.7 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3425, allocations: 5.969 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3425, allocations: 1.938 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3425, allocations: 0.6562 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.3432, allocations: 0.5007 MB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3432, allocations: 1.875 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3433, allocations: 32.47 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3433, allocations: 0.9375 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3433, allocations: 2.469 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3433, allocations: 7.188 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3434, allocations: 0 / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3437, allocations: 266.9 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.3438, allocations: 93.41 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3438, allocations: 11.52 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.3439, allocations: 8.906 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.344, allocations: 12.53 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.344, allocations: 3.328 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3441, allocations: 152.3 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3441, allocations: 0 / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3444, allocations: 32.83 kB / 0.5259 GB, free: 14.74 MB / 398.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.0009385/0.3453, allocations: 460.3 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3457, allocations: 133.6 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3457, allocations: 1.344 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3458, allocations: 69.66 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3461, allocations: 22.97 kB / 0.5265 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.3466, allocations: 320.2 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3469, allocations: 0.7228 MB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.664e-05/0.347, allocations: 30.19 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.3471, allocations: 18.31 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3471, allocations: 0 / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.003958/0.351, allocations: 1.643 MB / 0.5292 GB, free: 12.76 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches