Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 204.1 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.5 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007673/0.0007676, allocations: 93.66 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.331/0.331, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002779, allocations: 11.98 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3336, allocations: 62.95 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001591/0.3353, allocations: 1.309 MB / 0.5172 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.336, allocations: 0.4925 MB / 0.5176 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.336, allocations: 0 / 0.5176 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.3363, allocations: 92.78 kB / 0.5177 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.3365, allocations: 91.06 kB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3368, allocations: 79.73 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3369, allocations: 74.67 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.337, allocations: 20 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.3371, allocations: 32.41 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.3371, allocations: 44.55 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3372, allocations: 2.438 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3373, allocations: 39.73 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3373, allocations: 24.81 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3374, allocations: 51.45 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3375, allocations: 83.53 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3375, allocations: 0 / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3375, allocations: 0 / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3375, allocations: 0 / 0.5182 GB, free: 35.66 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.0003881/0.3379, allocations: 405 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.338, allocations: 8.938 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.338, allocations: 10.75 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3382, allocations: 210.8 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3382, allocations: 3.281 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3382, allocations: 6.688 kB / 0.5189 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3383, allocations: 56.27 kB / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3384, allocations: 0 / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3384, allocations: 0 / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3384, allocations: 0 / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.3385, allocations: 38.09 kB / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.3388, allocations: 293.1 kB / 0.5192 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.829e-05/0.3389, allocations: 42.77 kB / 0.5193 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.3389, allocations: 21.33 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.339, allocations: 3.375 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.339, allocations: 41.34 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.339, allocations: 0 / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007579/0.3398, allocations: 257.1 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3398, allocations: 59.25 kB / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.34, allocations: 228.8 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.34, allocations: 29.7 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.34, allocations: 115.3 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3401, allocations: 22.47 kB / 0.52 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.3401, allocations: 0 / 0.52 GB, free: 34.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.3401, allocations: 324.4 kB / 0.5203 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.3402, allocations: 32.75 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.3403, allocations: 26.64 kB / 0.5204 GB, free: 33.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3404, allocations: 72.05 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3404, allocations: 4 kB / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001709/0.3406, allocations: 116 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3406, allocations: 5.688 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3406, allocations: 3.516 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3406, allocations: 6.75 kB / 0.5206 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.3407, allocations: 21.56 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3407, allocations: 3.938 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.3408, allocations: 9.594 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3408, allocations: 2.875 kB / 0.5206 GB, free: 33.7 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 7.455e-05/0.3409, allocations: 128.6 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.3409, allocations: 17.47 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.3411, allocations: 127.4 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3412, allocations: 2.969 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3412, allocations: 0 / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3412, allocations: 3.938 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.3416, allocations: 413.1 kB / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3416, allocations: 0 / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.3417, allocations: 19.47 kB / 0.5213 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3417, allocations: 3.938 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3417, allocations: 7 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3417, allocations: 3.938 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3417, allocations: 0 / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3419, allocations: 210.1 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.3419, allocations: 91.33 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3419, allocations: 6.938 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.342, allocations: 13.02 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3421, allocations: 2.875 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.3421, allocations: 2.969 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.3422, allocations: 172.8 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3422, allocations: 2.906 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.3424, allocations: 19.84 kB / 0.5218 GB, free: 32.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0008512/0.3433, allocations: 471.4 kB / 0.5223 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3435, allocations: 72.53 kB / 0.5223 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3435, allocations: 0 / 0.5223 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.3435, allocations: 35.12 kB / 0.5224 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3439, allocations: 23.12 kB / 0.5224 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.3443, allocations: 321.7 kB / 0.5227 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.3444, allocations: 0.7096 MB / 0.5234 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.3444, allocations: 16.22 kB / 0.5234 GB, free: 31.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3445, allocations: 4 kB / 0.5234 GB, free: 31.53 MB / 378.7 MB Notification: Performance of Templates: time 0.002826/0.3473, allocations: 1.77 MB / 0.5251 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches