Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 200.3 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.315/1.315, allocations: 226.6 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008269/0.0008267, allocations: 94.16 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3415/0.3415, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003043, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3242, allocations: 62.96 MB / 0.5159 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001469/0.3257, allocations: 1.286 MB / 0.5171 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3269, allocations: 1.085 MB / 0.5182 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.3269, allocations: 3 kB / 0.5182 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3271, allocations: 21.03 kB / 0.5182 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3274, allocations: 69.52 kB / 0.5183 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3276, allocations: 86.56 kB / 0.5184 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3277, allocations: 53.84 kB / 0.5184 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.3278, allocations: 9.859 kB / 0.5184 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.3278, allocations: 24.06 kB / 0.5184 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3279, allocations: 31.61 kB / 0.5185 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.328, allocations: 6.938 kB / 0.5185 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3281, allocations: 80.12 kB / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.3281, allocations: 10.53 kB / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.3282, allocations: 47.2 kB / 0.5186 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3283, allocations: 99.38 kB / 0.5187 GB, free: 34.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3283, allocations: 0 / 0.5187 GB, free: 34.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3283, allocations: 0 / 0.5187 GB, free: 34.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3283, allocations: 0 / 0.5187 GB, free: 34.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003628/0.3287, allocations: 391.2 kB / 0.5191 GB, free: 34.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3288, allocations: 15.38 kB / 0.5191 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.3288, allocations: 7.656 kB / 0.5191 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3289, allocations: 195 kB / 0.5193 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.329, allocations: 384 / 0.5193 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.329, allocations: 8.281 kB / 0.5193 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3291, allocations: 62.56 kB / 0.5194 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3291, allocations: 7.922 kB / 0.5194 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3292, allocations: 6.906 kB / 0.5194 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3292, allocations: 0 / 0.5194 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.3293, allocations: 24.69 kB / 0.5194 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.3295, allocations: 278.7 kB / 0.5197 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3297, allocations: 48.23 kB / 0.5197 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.3298, allocations: 17.05 kB / 0.5197 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3298, allocations: 3.562 kB / 0.5197 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3298, allocations: 33.34 kB / 0.5198 GB, free: 33.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.3298, allocations: 0 / 0.5198 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004937/0.3303, allocations: 155.5 kB / 0.5199 GB, free: 33.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3304, allocations: 77.11 kB / 0.52 GB, free: 33.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3305, allocations: 142.2 kB / 0.5201 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3305, allocations: 32.67 kB / 0.5202 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.3305, allocations: 98.09 kB / 0.5202 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3305, allocations: 25.98 kB / 0.5203 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.3306, allocations: 0 / 0.5203 GB, free: 33.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.3306, allocations: 318.8 kB / 0.5206 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.3307, allocations: 24.83 kB / 0.5206 GB, free: 33.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.3307, allocations: 38.36 kB / 0.5206 GB, free: 33.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3309, allocations: 52.84 kB / 0.5207 GB, free: 33.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3309, allocations: 0 / 0.5207 GB, free: 33.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001502/0.331, allocations: 95.62 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.331, allocations: 2.719 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3311, allocations: 6.969 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3311, allocations: 0 / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.3311, allocations: 14.42 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3311, allocations: 0 / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.3312, allocations: 9.906 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3312, allocations: 3.938 kB / 0.5208 GB, free: 33.01 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 (5): * Single equations (assignments): 5 * 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 5.664e-05/0.3313, allocations: 119 kB / 0.5209 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3313, allocations: 2.688 kB / 0.5209 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.3315, allocations: 101.9 kB / 0.521 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3315, allocations: 0 / 0.521 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3315, allocations: 3.938 kB / 0.521 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3315, allocations: 0 / 0.521 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.3318, allocations: 360.5 kB / 0.5214 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3319, allocations: 0 / 0.5214 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.3319, allocations: 19.47 kB / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3319, allocations: 0 / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3319, allocations: 3.938 kB / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3319, allocations: 3.938 kB / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3319, allocations: 3.938 kB / 0.5214 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3321, allocations: 192.4 kB / 0.5216 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3321, allocations: 87.2 kB / 0.5217 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3322, allocations: 4 kB / 0.5217 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3322, allocations: 13.08 kB / 0.5217 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3323, allocations: 3.094 kB / 0.5217 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3323, allocations: 0 / 0.5217 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.3324, allocations: 117.3 kB / 0.5218 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3324, allocations: 7.938 kB / 0.5218 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.3326, allocations: 34.48 kB / 0.5218 GB, free: 32.13 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 (5): * Single equations (assignments): 5 * 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.000908/0.3335, allocations: 479.2 kB / 0.5223 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3337, allocations: 61.17 kB / 0.5224 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3337, allocations: 0 / 0.5224 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.3338, allocations: 36.62 kB / 0.5224 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3341, allocations: 8.797 kB / 0.5224 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.3345, allocations: 207.8 kB / 0.5226 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.3346, allocations: 0.7016 MB / 0.5233 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.3347, allocations: 16.34 kB / 0.5233 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3347, allocations: 3 kB / 0.5233 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.002928/0.3376, allocations: 1.902 MB / 0.5252 GB, free: 30.76 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches