Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.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.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008792/0.0008792, allocations: 200.9 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.261/1.261, 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.0007783/0.0007783, allocations: 91.12 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.1865/0.1865, allocations: 44.83 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09828, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.001815/0.1001, allocations: 1.431 MB / 0.5167 GB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1758/0.2759, allocations: 1.5 MB / 0.5182 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2761, allocations: 0.5938 kB / 0.5182 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.2763, allocations: 35.52 kB / 0.5182 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.2766, allocations: 78.91 kB / 0.5183 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2769, allocations: 93.97 kB / 0.5184 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.2771, allocations: 92.17 kB / 0.5185 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.2772, allocations: 12.22 kB / 0.5185 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.2772, allocations: 41.75 kB / 0.5185 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2774, allocations: 40 kB / 0.5186 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2774, allocations: 2.688 kB / 0.5186 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2776, allocations: 90.62 kB / 0.5187 GB, free: 9.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.2776, allocations: 21.52 kB / 0.5187 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.2777, allocations: 41.48 kB / 0.5187 GB, free: 9.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.2779, allocations: 124.8 kB / 0.5188 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2779, allocations: 0 / 0.5188 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2779, allocations: 0 / 0.5188 GB, free: 9.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.2779, allocations: 0.6562 kB / 0.5188 GB, free: 9.789 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.0004117/0.2783, allocations: 414.2 kB / 0.5192 GB, free: 9.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2783, allocations: 8.625 kB / 0.5192 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.2784, allocations: 9.469 kB / 0.5193 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.2786, allocations: 211.3 kB / 0.5195 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2786, allocations: 7.188 kB / 0.5195 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.2786, allocations: 3.094 kB / 0.5195 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2788, allocations: 67.92 kB / 0.5195 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2788, allocations: 4 kB / 0.5195 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2788, allocations: 4.031 kB / 0.5195 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2788, allocations: 0 / 0.5195 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.2789, allocations: 18.72 kB / 0.5196 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.2792, allocations: 291.5 kB / 0.5198 GB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2793, allocations: 59.47 kB / 0.5199 GB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.2794, allocations: 23.81 kB / 0.5199 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2794, allocations: 1.094 kB / 0.5199 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.2796, allocations: 64.98 kB / 0.52 GB, free: 8.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2796, allocations: 0 / 0.52 GB, free: 8.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.2801, allocations: 170.3 kB / 0.5201 GB, free: 8.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2801, allocations: 83.06 kB / 0.5202 GB, free: 8.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2802, allocations: 175.1 kB / 0.5204 GB, free: 8.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2803, allocations: 26.8 kB / 0.5204 GB, free: 8.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.2803, allocations: 97 kB / 0.5205 GB, free: 8.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2803, allocations: 31.83 kB / 0.5205 GB, free: 8.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.2803, allocations: 0 / 0.5205 GB, free: 8.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.2804, allocations: 324 kB / 0.5208 GB, free: 8.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.2805, allocations: 16.8 kB / 0.5209 GB, free: 8.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.2805, allocations: 47.05 kB / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.2806, allocations: 24.64 kB / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2806, allocations: 0 / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.2808, allocations: 98.8 kB / 0.521 GB, free: 8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2808, allocations: 5.969 kB / 0.521 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2808, allocations: 0.9688 kB / 0.521 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.2808, allocations: 0.9375 kB / 0.521 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.2809, allocations: 19.17 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2809, allocations: 0.9062 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.281, allocations: 4.797 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.281, allocations: 9.578 kB / 0.5211 GB, free: 7.992 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.44e-05/0.281, allocations: 128 kB / 0.5212 GB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.2811, allocations: 13.75 kB / 0.5212 GB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.2811, allocations: 14 kB / 0.5212 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2811, allocations: 1.281 kB / 0.5212 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2811, allocations: 0 / 0.5212 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2811, allocations: 4.609 kB / 0.5212 GB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.2815, allocations: 398.7 kB / 0.5216 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2815, allocations: 4.953 kB / 0.5216 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.2815, allocations: 8.219 kB / 0.5216 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2815, allocations: 1.812 kB / 0.5216 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2816, allocations: 2.344 kB / 0.5216 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2816, allocations: 1.5 kB / 0.5216 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2816, allocations: 3.953 kB / 0.5216 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2818, allocations: 209 kB / 0.5218 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.2818, allocations: 95.94 kB / 0.5219 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2818, allocations: 2.188 kB / 0.5219 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.2819, allocations: 8.141 kB / 0.5219 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.2819, allocations: 9.188 kB / 0.5219 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.282, allocations: 8.328 kB / 0.5219 GB, free: 7.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.472e-05/0.2821, allocations: 123.7 kB / 0.5221 GB, free: 7.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2821, allocations: 3.938 kB / 0.5221 GB, free: 7.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.2823, allocations: 49.08 kB / 0.5221 GB, free: 7.195 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.0009732/0.2833, allocations: 0.5406 MB / 0.5226 GB, free: 6.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.2835, allocations: 63.55 kB / 0.5227 GB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2835, allocations: 0 / 0.5227 GB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.2836, allocations: 28.17 kB / 0.5227 GB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2838, allocations: 32.7 kB / 0.5227 GB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.2842, allocations: 240.4 kB / 0.523 GB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.2843, allocations: 0.7026 MB / 0.5237 GB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.2844, allocations: 20 kB / 0.5237 GB, free: 6.043 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2844, allocations: 0 / 0.5237 GB, free: 6.043 MB / 346.7 MB Notification: Performance of Templates: time 0.004038/0.2884, allocations: 2.405 MB / 0.526 GB, free: 5.777 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89 --alarm=480 > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)