Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001579, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 110.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3557/0.3557, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.88 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3179, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002372/0.3203, allocations: 1.752 MB / 0.5169 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.3212, allocations: 0.5971 MB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.3212, allocations: 2.906 kB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3215, allocations: 29 kB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3217, allocations: 69.3 kB / 0.5175 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.322, allocations: 164.2 kB / 0.5177 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3222, allocations: 91.44 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.3222, allocations: 15.88 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.3223, allocations: 39.31 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.3224, allocations: 48.14 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3224, allocations: 2.875 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3225, allocations: 94.83 kB / 0.518 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3226, allocations: 20.14 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3226, allocations: 33.27 kB / 0.518 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3228, allocations: 166.2 kB / 0.5182 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3229, allocations: 0 / 0.5182 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3229, allocations: 0 / 0.5182 GB, free: 35.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.3229, allocations: 0 / 0.5182 GB, free: 35.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005916/0.3235, allocations: 442.2 kB / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3235, allocations: 10.53 kB / 0.5186 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3236, allocations: 18.7 kB / 0.5186 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3238, allocations: 197.5 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.3238, allocations: 3.312 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3238, allocations: 6.812 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3241, allocations: 100.6 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3241, allocations: 0 / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3241, allocations: 0 / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3241, allocations: 0 / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.3244, allocations: 70.17 kB / 0.519 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.325, allocations: 355.5 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3253, allocations: 75.19 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.3254, allocations: 49.42 kB / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3255, allocations: 2.969 kB / 0.5195 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.3255, allocations: 30.56 kB / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3255, allocations: 0 / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001485/0.327, allocations: 410.3 kB / 0.5199 GB, free: 34.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3271, allocations: 84.36 kB / 0.52 GB, free: 34.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3272, allocations: 163.2 kB / 0.5201 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.3272, allocations: 25.8 kB / 0.5201 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.3272, allocations: 104.5 kB / 0.5202 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3273, allocations: 26.22 kB / 0.5203 GB, free: 34.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.3273, allocations: 24.91 kB / 0.5203 GB, free: 34.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.3274, allocations: 326.6 kB / 0.5206 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3277, allocations: 76.73 kB / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3279, allocations: 99.09 kB / 0.5208 GB, free: 33.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.3285, allocations: 168.5 kB / 0.5209 GB, free: 33.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3285, allocations: 384 / 0.5209 GB, free: 33.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006234/0.3291, allocations: 212.2 kB / 0.5211 GB, free: 33.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3291, allocations: 5.375 kB / 0.5211 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3291, allocations: 0 / 0.5211 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3292, allocations: 7.938 kB / 0.5211 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3294, allocations: 46.03 kB / 0.5212 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3294, allocations: 0 / 0.5212 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3295, allocations: 22.72 kB / 0.5212 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3295, allocations: 6.688 kB / 0.5212 GB, free: 33.74 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 (10): * Single equations (assignments): 10 * 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.561e-05/0.3296, allocations: 119.3 kB / 0.5213 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.3296, allocations: 13.91 kB / 0.5213 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.3303, allocations: 227.5 kB / 0.5216 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3303, allocations: 6.781 kB / 0.5216 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3303, allocations: 0 / 0.5216 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3303, allocations: 4 kB / 0.5216 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.3312, allocations: 0.5191 MB / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3312, allocations: 0 / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3313, allocations: 39.3 kB / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3314, allocations: 0 / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3314, allocations: 0 / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3314, allocations: 3.219 kB / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3314, allocations: 0 / 0.5221 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009972/0.3324, allocations: 0.9568 MB / 0.5231 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.3324, allocations: 90.92 kB / 0.5231 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3325, allocations: 0 / 0.5231 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3326, allocations: 19.94 kB / 0.5232 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.3327, allocations: 15.19 kB / 0.5232 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3327, allocations: 2.375 kB / 0.5232 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.3328, allocations: 123.3 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3328, allocations: 4 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.3332, allocations: 52.73 kB / 0.5233 GB, free: 32.14 MB / 378.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 (9): * Single equations (assignments): 9 * 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.000925/0.3341, allocations: 0.4898 MB / 0.5238 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005969/0.3348, allocations: 179.6 kB / 0.524 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3348, allocations: 0 / 0.524 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.335, allocations: 90.08 kB / 0.5241 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3354, allocations: 24 kB / 0.5241 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.3359, allocations: 395.5 kB / 0.5245 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.336, allocations: 0.7169 MB / 0.5252 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.945e-05/0.3361, allocations: 31.94 kB / 0.5252 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3362, allocations: 18.95 kB / 0.5252 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3362, allocations: 3.938 kB / 0.5252 GB, free: 30.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004085/0.3403, allocations: 2.426 MB / 0.5276 GB, free: 30.54 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches