Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009103/0.0009103, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007634/0.0007634, allocations: 93.25 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 44.84 MB / 392 MB, free: 9.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002396, allocations: 12 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09565, allocations: 62.96 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001786/0.09748, allocations: 1.424 MB / 0.5167 GB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1772/0.2747, allocations: 1.507 MB / 0.5182 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.2748, allocations: 3.656 kB / 0.5182 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.2751, allocations: 37.12 kB / 0.5182 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.2754, allocations: 79.56 kB / 0.5183 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2757, allocations: 92.67 kB / 0.5184 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.2758, allocations: 89.56 kB / 0.5185 GB, free: 9.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.2759, allocations: 12.5 kB / 0.5185 GB, free: 9.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.276, allocations: 42.98 kB / 0.5185 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2762, allocations: 40.78 kB / 0.5186 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2762, allocations: 3.281 kB / 0.5186 GB, free: 9.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2764, allocations: 89.61 kB / 0.5187 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.2764, allocations: 17.88 kB / 0.5187 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.2764, allocations: 38.86 kB / 0.5187 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.2767, allocations: 124.9 kB / 0.5188 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2767, allocations: 0.75 kB / 0.5188 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2767, allocations: 0 / 0.5188 GB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.2767, allocations: 1.125 kB / 0.5188 GB, free: 9.828 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.0004246/0.2771, allocations: 412.9 kB / 0.5192 GB, free: 9.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2772, allocations: 8.812 kB / 0.5192 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.2772, allocations: 14.12 kB / 0.5193 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.2774, allocations: 222.8 kB / 0.5195 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2774, allocations: 2.062 kB / 0.5195 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.2774, allocations: 2.156 kB / 0.5195 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2776, allocations: 67.16 kB / 0.5195 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2776, allocations: 1.094 kB / 0.5195 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2776, allocations: 1.875 kB / 0.5195 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2776, allocations: 0.9062 kB / 0.5195 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.2777, allocations: 18.5 kB / 0.5196 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.278, allocations: 296.5 kB / 0.5198 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2782, allocations: 56.39 kB / 0.5199 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.2782, allocations: 19.36 kB / 0.5199 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2782, allocations: 1.766 kB / 0.5199 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2784, allocations: 68.06 kB / 0.52 GB, free: 8.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2784, allocations: 1.125 kB / 0.52 GB, free: 8.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004456/0.2789, allocations: 170.2 kB / 0.5201 GB, free: 8.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2789, allocations: 83.5 kB / 0.5202 GB, free: 8.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.279, allocations: 170 kB / 0.5204 GB, free: 8.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2791, allocations: 31.14 kB / 0.5204 GB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.2791, allocations: 98 kB / 0.5205 GB, free: 8.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2791, allocations: 27.84 kB / 0.5205 GB, free: 8.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.2791, allocations: 5.281 kB / 0.5205 GB, free: 8.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.2792, allocations: 320.6 kB / 0.5208 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.2792, allocations: 19.55 kB / 0.5209 GB, free: 8.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.2793, allocations: 39.94 kB / 0.5209 GB, free: 8.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.2794, allocations: 24.42 kB / 0.5209 GB, free: 8.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2794, allocations: 4.031 kB / 0.5209 GB, free: 8.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001541/0.2795, allocations: 102.2 kB / 0.521 GB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2795, allocations: 4.75 kB / 0.521 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2796, allocations: 1.812 kB / 0.521 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2796, allocations: 1.156 kB / 0.521 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.2797, allocations: 14.84 kB / 0.521 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2797, allocations: 1.031 kB / 0.521 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.2797, allocations: 4.75 kB / 0.5211 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2797, allocations: 6.141 kB / 0.5211 GB, free: 8.035 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 6.546e-05/0.2798, allocations: 136.1 kB / 0.5212 GB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.2798, allocations: 12.78 kB / 0.5212 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.2799, allocations: 16.42 kB / 0.5212 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2799, allocations: 1.844 kB / 0.5212 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2799, allocations: 2.625 kB / 0.5212 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2799, allocations: 0.6094 kB / 0.5212 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.2803, allocations: 397 kB / 0.5216 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2803, allocations: 1.703 kB / 0.5216 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.2803, allocations: 8.125 kB / 0.5216 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2803, allocations: 1.781 kB / 0.5216 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2803, allocations: 6.703 kB / 0.5216 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2803, allocations: 0.6562 kB / 0.5216 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2803, allocations: 4.859 kB / 0.5216 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.2806, allocations: 202.2 kB / 0.5218 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2806, allocations: 90.67 kB / 0.5219 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2806, allocations: 3.703 kB / 0.5219 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.2807, allocations: 7.297 kB / 0.5219 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2808, allocations: 11.11 kB / 0.5219 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2808, allocations: 3.125 kB / 0.5219 GB, free: 7.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.551e-05/0.2809, allocations: 127.7 kB / 0.522 GB, free: 7.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2809, allocations: 0 / 0.522 GB, free: 7.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.2811, allocations: 53.34 kB / 0.5221 GB, free: 7.242 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.0009659/0.2821, allocations: 0.5513 MB / 0.5226 GB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.2823, allocations: 60.3 kB / 0.5227 GB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2823, allocations: 0 / 0.5227 GB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.2824, allocations: 36.66 kB / 0.5227 GB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2827, allocations: 22.22 kB / 0.5227 GB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.283, allocations: 235.1 kB / 0.523 GB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2831, allocations: 0.7101 MB / 0.5237 GB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2832, allocations: 19.47 kB / 0.5237 GB, free: 6.082 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2832, allocations: 1.188 kB / 0.5237 GB, free: 6.082 MB / 346.7 MB Notification: Performance of Templates: time 0.004092/0.2873, allocations: 2.396 MB / 0.526 GB, free: 5.82 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches