Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 196.3 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.313/1.313, 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.0007516/0.0007517, allocations: 98.69 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.1786/0.1786, allocations: 44.84 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002512, allocations: 12 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09765, allocations: 62.95 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001923/0.09962, allocations: 1.443 MB / 0.5167 GB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1009, allocations: 0.9518 MB / 0.5177 GB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.101, allocations: 4 kB / 0.5177 GB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1013, allocations: 95.73 kB / 0.5178 GB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1015, allocations: 103.7 kB / 0.5179 GB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1018, allocations: 98.27 kB / 0.518 GB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1779/0.2796, allocations: 110.9 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2798, allocations: 17.02 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2799, allocations: 52.86 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.28, allocations: 59.02 kB / 0.5182 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2801, allocations: 2.344 kB / 0.5182 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2802, allocations: 50.52 kB / 0.5182 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.2803, allocations: 30.19 kB / 0.5183 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2803, allocations: 45.73 kB / 0.5183 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2805, allocations: 111.6 kB / 0.5184 GB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2806, allocations: 1.156 kB / 0.5184 GB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2806, allocations: 0 / 0.5184 GB, free: 9.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2806, allocations: 0 / 0.5184 GB, free: 9.855 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004733/0.281, allocations: 433.4 kB / 0.5188 GB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2811, allocations: 8.688 kB / 0.5188 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.2811, allocations: 21.72 kB / 0.5189 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2813, allocations: 227.3 kB / 0.5191 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2814, allocations: 1.562 kB / 0.5191 GB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2814, allocations: 8.75 kB / 0.5191 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.2816, allocations: 70.17 kB / 0.5192 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2816, allocations: 0 / 0.5192 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2816, allocations: 0.9062 kB / 0.5192 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2816, allocations: 1.703 kB / 0.5192 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.2817, allocations: 35.14 kB / 0.5192 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.2821, allocations: 315.4 kB / 0.5195 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.2823, allocations: 75.72 kB / 0.5196 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.2824, allocations: 29.72 kB / 0.5196 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.2824, allocations: 6.406 kB / 0.5196 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.2826, allocations: 73.3 kB / 0.5197 GB, free: 8.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.2826, allocations: 0 / 0.5197 GB, free: 8.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007472/0.2834, allocations: 284.5 kB / 0.5199 GB, free: 8.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2834, allocations: 60.92 kB / 0.52 GB, free: 8.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2836, allocations: 253.7 kB / 0.5202 GB, free: 8.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2837, allocations: 29.61 kB / 0.5203 GB, free: 8.578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2837, allocations: 112.8 kB / 0.5204 GB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2837, allocations: 39.91 kB / 0.5204 GB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.2838, allocations: 4.344 kB / 0.5204 GB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.2838, allocations: 329.5 kB / 0.5207 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.2839, allocations: 33.98 kB / 0.5208 GB, free: 8.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.284, allocations: 52.06 kB / 0.5208 GB, free: 8.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.2841, allocations: 36.41 kB / 0.5208 GB, free: 8.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2841, allocations: 1.438 kB / 0.5208 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002224/0.2843, allocations: 148.2 kB / 0.521 GB, free: 8.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2843, allocations: 4.688 kB / 0.521 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2843, allocations: 0.8438 kB / 0.521 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2843, allocations: 3.031 kB / 0.521 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.2844, allocations: 20.39 kB / 0.521 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2844, allocations: 9.922 kB / 0.521 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.2845, allocations: 6.188 kB / 0.521 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2845, allocations: 4.891 kB / 0.521 GB, free: 8.09 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 (14): * Single equations (assignments): 14 * 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 8.414e-05/0.2846, allocations: 134.9 kB / 0.5212 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2846, allocations: 19.94 kB / 0.5212 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.2847, allocations: 24.38 kB / 0.5212 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2847, allocations: 1.344 kB / 0.5212 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2847, allocations: 0.6094 kB / 0.5212 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2847, allocations: 9.75 kB / 0.5212 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.2852, allocations: 478.6 kB / 0.5217 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2852, allocations: 1.125 kB / 0.5217 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.2853, allocations: 15.17 kB / 0.5217 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2853, allocations: 4.453 kB / 0.5217 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2853, allocations: 9.719 kB / 0.5217 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2853, allocations: 9.406 kB / 0.5217 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2853, allocations: 1.219 kB / 0.5217 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2855, allocations: 243.9 kB / 0.5219 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.2856, allocations: 94.95 kB / 0.522 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.2856, allocations: 5.375 kB / 0.522 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.2857, allocations: 14.47 kB / 0.5221 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.2857, allocations: 7.359 kB / 0.5221 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.2858, allocations: 8.219 kB / 0.5221 GB, free: 7.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.2859, allocations: 197.4 kB / 0.5223 GB, free: 7.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2859, allocations: 0 / 0.5223 GB, free: 7.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.2862, allocations: 35.53 kB / 0.5223 GB, free: 7.285 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009532/0.2871, allocations: 0.5031 MB / 0.5228 GB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.2873, allocations: 89.05 kB / 0.5229 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2873, allocations: 0 / 0.5229 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.2874, allocations: 47.91 kB / 0.5229 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2878, allocations: 32.33 kB / 0.5229 GB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.2883, allocations: 369 kB / 0.5233 GB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.2884, allocations: 0.7259 MB / 0.524 GB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.2885, allocations: 20.84 kB / 0.524 GB, free: 6.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2885, allocations: 0 / 0.524 GB, free: 6.09 MB / 346.7 MB Notification: Performance of Templates: time 0.004179/0.2927, allocations: 2.409 MB / 0.5264 GB, free: 5.836 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches