Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000779/0.0007791, allocations: 98.67 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3034/0.3034, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002572, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.33, allocations: 62.96 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001735/0.3318, allocations: 1.3 MB / 0.5171 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3332, allocations: 1.101 MB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.3332, allocations: 3.938 kB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.3334, allocations: 29.64 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.3337, allocations: 57.75 kB / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.3339, allocations: 105.5 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.334, allocations: 67.83 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3341, allocations: 26.84 kB / 0.5185 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.3342, allocations: 23.75 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3343, allocations: 34.17 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3344, allocations: 2.938 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3345, allocations: 81.3 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.3345, allocations: 18.44 kB / 0.5187 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3346, allocations: 47.33 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3347, allocations: 111 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3347, allocations: 0 / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3348, allocations: 0 / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.3348, allocations: 3.938 kB / 0.5188 GB, free: 35.22 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.0004019/0.3352, allocations: 396.1 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3352, allocations: 9.594 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3353, allocations: 11.81 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3354, allocations: 197 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3355, allocations: 3.25 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3355, allocations: 11.16 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3356, allocations: 81.69 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3357, allocations: 3 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3357, allocations: 4 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3357, allocations: 0 / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.3358, allocations: 37.64 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.3362, allocations: 317 kB / 0.5198 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3363, allocations: 56 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3363, allocations: 27.5 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3364, allocations: 3.984 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.3364, allocations: 37.31 kB / 0.52 GB, free: 34.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3364, allocations: 0 / 0.52 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006222/0.337, allocations: 216.8 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.3371, allocations: 80.02 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3372, allocations: 153.3 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.3372, allocations: 29.7 kB / 0.5204 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.3373, allocations: 94.39 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.3373, allocations: 32.64 kB / 0.5205 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.3373, allocations: 0 / 0.5205 GB, free: 33.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.3374, allocations: 321 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.3374, allocations: 32.23 kB / 0.5209 GB, free: 33.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.3375, allocations: 50.7 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3377, allocations: 79.75 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3377, allocations: 0 / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001913/0.3379, allocations: 115.7 kB / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3379, allocations: 5.75 kB / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3379, allocations: 0 / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3379, allocations: 0 / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.338, allocations: 24.3 kB / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3381, allocations: 3.938 kB / 0.5211 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.3381, allocations: 17.77 kB / 0.5212 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3381, allocations: 0 / 0.5212 GB, free: 33.22 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 (8): * Single equations (assignments): 8 * 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 6.552e-05/0.3382, allocations: 119.1 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3382, allocations: 9.531 kB / 0.5213 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3385, allocations: 137.3 kB / 0.5214 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3385, allocations: 6.203 kB / 0.5214 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3385, allocations: 3.938 kB / 0.5214 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3385, allocations: 0 / 0.5214 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.3389, allocations: 411.5 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3389, allocations: 7.938 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.339, allocations: 17.03 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.339, allocations: 6.656 kB / 0.5218 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.339, allocations: 0 / 0.5218 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.339, allocations: 0 / 0.5218 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.339, allocations: 2.969 kB / 0.5218 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3393, allocations: 226.2 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.3393, allocations: 95.09 kB / 0.5221 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3393, allocations: 0 / 0.5221 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.3394, allocations: 6.875 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3394, allocations: 11.23 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.3395, allocations: 0 / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.3395, allocations: 123.3 kB / 0.5223 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3395, allocations: 0 / 0.5223 GB, free: 32.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000256/0.3398, allocations: 39.88 kB / 0.5223 GB, free: 32.29 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 (8): * Single equations (assignments): 8 * 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.0009332/0.3407, allocations: 491.4 kB / 0.5228 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.341, allocations: 75.8 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.341, allocations: 4 kB / 0.5229 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.3411, allocations: 53.91 kB / 0.5229 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3414, allocations: 17.12 kB / 0.5229 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.3417, allocations: 247 kB / 0.5232 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3419, allocations: 0.6963 MB / 0.5238 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.3419, allocations: 23.36 kB / 0.5239 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.342, allocations: 0 / 0.5239 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.003436/0.3454, allocations: 2.152 MB / 0.526 GB, free: 30.84 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches