Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.6 MB / 243.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007673/0.0007674, allocations: 96.39 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3211/0.3211, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3619, allocations: 62.96 MB / 0.5159 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001938/0.3639, allocations: 1.302 MB / 0.5171 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.3648, allocations: 0.4901 MB / 0.5176 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.3648, allocations: 0 / 0.5176 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3651, allocations: 88.12 kB / 0.5177 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.3654, allocations: 79.31 kB / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.3656, allocations: 82.38 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3657, allocations: 69.84 kB / 0.5179 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3658, allocations: 23.69 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.3659, allocations: 31.27 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.366, allocations: 49.45 kB / 0.518 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.366, allocations: 0 / 0.518 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.3661, allocations: 33.69 kB / 0.5181 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.3662, allocations: 24.41 kB / 0.5181 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.3662, allocations: 52.36 kB / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3664, allocations: 75.73 kB / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3664, allocations: 0 / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3664, allocations: 0 / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3664, allocations: 0 / 0.5182 GB, free: 35.88 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.0005036/0.3669, allocations: 404 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.367, allocations: 9.656 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.367, allocations: 18.73 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3672, allocations: 195.9 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3672, allocations: 3.312 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3672, allocations: 11.09 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3674, allocations: 58.59 kB / 0.5189 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3674, allocations: 4 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3674, allocations: 4 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3674, allocations: 2.812 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.3675, allocations: 30.83 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.3679, allocations: 298.1 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.368, allocations: 51.33 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.368, allocations: 16.73 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3681, allocations: 0 / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.3681, allocations: 37.44 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3681, allocations: 0 / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008214/0.3689, allocations: 249.3 kB / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.369, allocations: 54.34 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3691, allocations: 219.4 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3692, allocations: 32.3 kB / 0.5198 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.3692, allocations: 109.2 kB / 0.5199 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3692, allocations: 29.97 kB / 0.52 GB, free: 34.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.3692, allocations: 4 kB / 0.52 GB, free: 34.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.3693, allocations: 320.5 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.3694, allocations: 24.27 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.3695, allocations: 33.78 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3696, allocations: 69.02 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3696, allocations: 0 / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001767/0.3698, allocations: 104.2 kB / 0.5205 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3698, allocations: 9.844 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3698, allocations: 0 / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3698, allocations: 0 / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3699, allocations: 28.77 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.37, allocations: 3.938 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.37, allocations: 13.72 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.37, allocations: 0 / 0.5205 GB, free: 33.92 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.306e-05/0.3701, allocations: 129.5 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3701, allocations: 13.55 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3704, allocations: 129.1 kB / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3704, allocations: 0 / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3704, allocations: 432 / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3704, allocations: 3.938 kB / 0.5208 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.3709, allocations: 415.3 kB / 0.5212 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3709, allocations: 0 / 0.5212 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.3709, allocations: 21.97 kB / 0.5212 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.371, allocations: 7.969 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.371, allocations: 3.984 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.371, allocations: 3.938 kB / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.371, allocations: 0 / 0.5212 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3712, allocations: 211.2 kB / 0.5214 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.3712, allocations: 101.5 kB / 0.5215 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3713, allocations: 0 / 0.5215 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.3713, allocations: 4.844 kB / 0.5215 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.3714, allocations: 12.47 kB / 0.5216 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3714, allocations: 2.906 kB / 0.5216 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3715, allocations: 161.2 kB / 0.5217 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3715, allocations: 4 kB / 0.5217 GB, free: 32.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.3718, allocations: 25.58 kB / 0.5217 GB, free: 32.96 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.0009762/0.3728, allocations: 439.4 kB / 0.5222 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.373, allocations: 75.86 kB / 0.5222 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.373, allocations: 0 / 0.5222 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.3731, allocations: 36.89 kB / 0.5223 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3735, allocations: 17.2 kB / 0.5223 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.374, allocations: 310.5 kB / 0.5226 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3742, allocations: 0.7087 MB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3743, allocations: 13.16 kB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3743, allocations: 2.844 kB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003571/0.3779, allocations: 1.738 MB / 0.525 GB, free: 31.56 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches