Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 200.1 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.379/1.379, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008323/0.0008323, allocations: 101.9 kB / 295.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3253/0.3253, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3261, allocations: 62.96 MB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.00165/0.3278, allocations: 1.287 MB / 0.5171 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3291, allocations: 1.085 MB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.3292, allocations: 0 / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3294, allocations: 24.06 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3296, allocations: 71.17 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.3298, allocations: 72.27 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3299, allocations: 59.8 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.33, allocations: 13.8 kB / 0.5184 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.3301, allocations: 23.83 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.3318, allocations: 35.69 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3318, allocations: 2.781 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.332, allocations: 76.66 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.332, allocations: 18.2 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.3321, allocations: 43.33 kB / 0.5186 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3322, allocations: 102 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3322, allocations: 0 / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3322, allocations: 0 / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3322, allocations: 0 / 0.5187 GB, free: 35.29 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.0004184/0.3327, allocations: 385.8 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3327, allocations: 11.36 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.3328, allocations: 19.3 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3329, allocations: 199.9 kB / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.333, allocations: 384 / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.333, allocations: 3.375 kB / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3331, allocations: 65.83 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3331, allocations: 3.031 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3332, allocations: 0 / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3332, allocations: 4 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/0.3333, allocations: 28.7 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.3336, allocations: 271.8 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3337, allocations: 47.67 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.3338, allocations: 18.36 kB / 0.5197 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3338, allocations: 0 / 0.5197 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3338, allocations: 36.69 kB / 0.5198 GB, free: 34.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3339, allocations: 3.938 kB / 0.5198 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004903/0.3344, allocations: 147.4 kB / 0.5199 GB, free: 34.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3344, allocations: 84.53 kB / 0.52 GB, free: 34.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3345, allocations: 144.6 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3345, allocations: 25.7 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.3346, allocations: 102.2 kB / 0.5202 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.3346, allocations: 18.38 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.3346, allocations: 0 / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3347, allocations: 325 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.3347, allocations: 20.48 kB / 0.5206 GB, free: 33.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.3348, allocations: 42.56 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.3349, allocations: 52.89 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3349, allocations: 0 / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/0.3351, allocations: 85.48 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3351, allocations: 13.02 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3351, allocations: 64 / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3351, allocations: 4 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.3352, allocations: 18.09 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3352, allocations: 3.281 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.3353, allocations: 5.781 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3353, allocations: 7.938 kB / 0.5208 GB, free: 33.38 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.743e-05/0.3353, allocations: 112.6 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.3354, allocations: 8.984 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.3356, allocations: 97.22 kB / 0.521 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3356, allocations: 7.938 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3356, allocations: 0 / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3356, allocations: 2.844 kB / 0.521 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.3359, allocations: 354.3 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.336, allocations: 0 / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.336, allocations: 18.67 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.336, allocations: 0 / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.336, allocations: 2.938 kB / 0.5214 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.336, allocations: 3.938 kB / 0.5214 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.336, allocations: 3.984 kB / 0.5214 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3362, allocations: 189.4 kB / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.3363, allocations: 91.27 kB / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3363, allocations: 0 / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3364, allocations: 12.7 kB / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3364, allocations: 7.203 kB / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3364, allocations: 4.188 kB / 0.5217 GB, free: 32.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.3365, allocations: 116.3 kB / 0.5218 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3365, allocations: 0 / 0.5218 GB, free: 32.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.3368, allocations: 43.03 kB / 0.5218 GB, free: 32.5 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.0009518/0.3377, allocations: 492.6 kB / 0.5223 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.3379, allocations: 52.2 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3379, allocations: 3.938 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.338, allocations: 33.47 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3383, allocations: 16.5 kB / 0.5224 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.3386, allocations: 202.5 kB / 0.5226 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3387, allocations: 0.6947 MB / 0.5233 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.3388, allocations: 18.78 kB / 0.5233 GB, free: 31.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3388, allocations: 3.938 kB / 0.5233 GB, free: 31.34 MB / 378.7 MB Notification: Performance of Templates: time 0.003143/0.342, allocations: 1.914 MB / 0.5252 GB, free: 31.11 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches