Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 201.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007121/0.0007121, allocations: 90.31 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.176/0.176, allocations: 44.84 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.00025, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.09939, allocations: 62.95 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001853/0.1013, allocations: 1.431 MB / 0.5167 GB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1026, allocations: 0.948 MB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.1027, allocations: 7.875 kB / 0.5177 GB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1029, allocations: 47.86 kB / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1031, allocations: 83.72 kB / 0.5178 GB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1034, allocations: 95.77 kB / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1035, allocations: 91.7 kB / 0.518 GB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.294e-05/0.1036, allocations: 7.984 kB / 0.518 GB, free: 28 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1749/0.2785, allocations: 36.73 kB / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.2787, allocations: 35.55 kB / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.2787, allocations: 2.25 kB / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.2789, allocations: 34.92 kB / 0.5181 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.2789, allocations: 30.59 kB / 0.5181 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.279, allocations: 40.61 kB / 0.5181 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.2792, allocations: 101.1 kB / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2792, allocations: 0 / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2792, allocations: 3.547 kB / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2792, allocations: 0 / 0.5182 GB, free: 9.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005413/0.2798, allocations: 431.3 kB / 0.5187 GB, free: 9.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.2799, allocations: 8.438 kB / 0.5187 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.2799, allocations: 15.42 kB / 0.5187 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2801, allocations: 216.4 kB / 0.5189 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2802, allocations: 4.609 kB / 0.5189 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.2802, allocations: 5.969 kB / 0.5189 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.2803, allocations: 53.75 kB / 0.5189 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2804, allocations: 4.625 kB / 0.519 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2804, allocations: 1.656 kB / 0.519 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2804, allocations: 3.938 kB / 0.519 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.333e-05/0.2805, allocations: 22.19 kB / 0.519 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2809, allocations: 294.8 kB / 0.5193 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.281, allocations: 56.06 kB / 0.5193 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.2811, allocations: 19.88 kB / 0.5193 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2811, allocations: 5.703 kB / 0.5193 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.2813, allocations: 70.02 kB / 0.5194 GB, free: 8.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2813, allocations: 0 / 0.5194 GB, free: 8.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005586/0.2819, allocations: 178.1 kB / 0.5196 GB, free: 8.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2819, allocations: 53.3 kB / 0.5196 GB, free: 8.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.2822, allocations: 273.8 kB / 0.5199 GB, free: 8.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2823, allocations: 33.08 kB / 0.5199 GB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.2823, allocations: 117 kB / 0.52 GB, free: 8.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2823, allocations: 28.03 kB / 0.5201 GB, free: 8.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.2824, allocations: 1.719 kB / 0.5201 GB, free: 8.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.2824, allocations: 328.2 kB / 0.5204 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.2825, allocations: 20.22 kB / 0.5204 GB, free: 8.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.2826, allocations: 35.97 kB / 0.5204 GB, free: 8.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.2826, allocations: 29.67 kB / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2826, allocations: 0 / 0.5205 GB, free: 8.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.2828, allocations: 110.5 kB / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2828, allocations: 7.031 kB / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2828, allocations: 0 / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2829, allocations: 1.156 kB / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.283, allocations: 18.16 kB / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.283, allocations: 0.9688 kB / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.283, allocations: 5.734 kB / 0.5206 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.283, allocations: 11.52 kB / 0.5206 GB, free: 8.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.239e-05/0.2831, allocations: 132.9 kB / 0.5207 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.2832, allocations: 15.83 kB / 0.5207 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.2832, allocations: 25.19 kB / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2832, allocations: 0 / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2832, allocations: 4.906 kB / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2832, allocations: 3.422 kB / 0.5208 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.2836, allocations: 411 kB / 0.5212 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2837, allocations: 0.5156 kB / 0.5212 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.2837, allocations: 9.188 kB / 0.5212 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2837, allocations: 1.188 kB / 0.5212 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2837, allocations: 3.281 kB / 0.5212 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2837, allocations: 0 / 0.5212 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2837, allocations: 5.719 kB / 0.5212 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.2839, allocations: 209.2 kB / 0.5214 GB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.284, allocations: 95.08 kB / 0.5215 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.284, allocations: 2.203 kB / 0.5215 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.2841, allocations: 5.438 kB / 0.5215 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.2841, allocations: 9.031 kB / 0.5215 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2842, allocations: 6.359 kB / 0.5215 GB, free: 7.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.2844, allocations: 203.2 kB / 0.5217 GB, free: 7.312 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2844, allocations: 0 / 0.5217 GB, free: 7.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.2846, allocations: 27.67 kB / 0.5217 GB, free: 7.309 MB / 346.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001013/0.2856, allocations: 470 kB / 0.5222 GB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.2858, allocations: 58.92 kB / 0.5222 GB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2858, allocations: 0 / 0.5222 GB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.2859, allocations: 33.12 kB / 0.5223 GB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2863, allocations: 28.02 kB / 0.5223 GB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.2868, allocations: 345.7 kB / 0.5226 GB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.287, allocations: 0.718 MB / 0.5233 GB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.2871, allocations: 17.03 kB / 0.5233 GB, free: 6.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2871, allocations: 4 kB / 0.5233 GB, free: 6.156 MB / 346.7 MB Notification: Performance of Templates: time 0.004812/0.2919, allocations: 2.094 MB / 0.5254 GB, free: 5.934 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches