Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002073/0.002073, allocations: 178.3 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 94.34 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.233e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.408, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5664, allocations: 86.72 MB / 0.5506 GB, free: 12.59 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5667, allocations: 71.95 kB / 0.5507 GB, free: 12.52 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01799/0.5847, allocations: 4.293 MB / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5848, allocations: 0 / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.5848, allocations: 4 kB / 0.5549 GB, free: 8.211 MB / 395.1 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.0005011/0.5853, allocations: 374.3 kB / 0.5552 GB, free: 7.801 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5854, allocations: 12.03 kB / 0.5552 GB, free: 7.789 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.5855, allocations: 11.86 kB / 0.5552 GB, free: 7.777 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.5857, allocations: 190.9 kB / 0.5554 GB, free: 7.551 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5858, allocations: 4.547 kB / 0.5554 GB, free: 7.547 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.5858, allocations: 0 / 0.5554 GB, free: 7.547 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.5859, allocations: 19.98 kB / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.5861, allocations: 71.39 kB / 0.5555 GB, free: 7.445 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5861, allocations: 0 / 0.5555 GB, free: 7.445 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5861, allocations: 3.938 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5862, allocations: 3.938 kB / 0.5555 GB, free: 7.438 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.5867, allocations: 293.2 kB / 0.5558 GB, free: 7.113 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5868, allocations: 34.58 kB / 0.5558 GB, free: 7.07 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.5869, allocations: 20.94 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5869, allocations: 0 / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.587, allocations: 30.56 kB / 0.5559 GB, free: 7.008 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.587, allocations: 0 / 0.5559 GB, free: 7.008 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006553/0.5877, allocations: 149.2 kB / 0.556 GB, free: 6.855 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5877, allocations: 77.11 kB / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.5879, allocations: 125.2 kB / 0.5562 GB, free: 6.629 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.5879, allocations: 29.69 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.588, allocations: 170.4 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.5881, allocations: 11.72 kB / 0.5564 GB, free: 6.414 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.5881, allocations: 0 / 0.5564 GB, free: 6.414 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5883, allocations: 322.8 kB / 0.5567 GB, free: 6.09 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.5883, allocations: 20.23 kB / 0.5567 GB, free: 6.07 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.5884, allocations: 33.72 kB / 0.5568 GB, free: 6.031 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.5885, allocations: 24.05 kB / 0.5568 GB, free: 6.008 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5885, allocations: 4 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001913/0.5887, allocations: 77.61 kB / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5887, allocations: 4 kB / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5888, allocations: 0 / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5888, allocations: 4.031 kB / 0.5569 GB, free: 5.914 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.589, allocations: 23.98 kB / 0.5569 GB, free: 5.891 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.589, allocations: 3.953 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.5892, allocations: 15.98 kB / 0.5569 GB, free: 5.871 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5892, allocations: 0 / 0.5569 GB, free: 5.871 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.169e-05/0.5893, allocations: 108.9 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.5893, allocations: 11.91 kB / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.5896, allocations: 106.5 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5896, allocations: 0 / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5897, allocations: 0 / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5897, allocations: 3.953 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.5902, allocations: 347.1 kB / 0.5575 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5903, allocations: 3.938 kB / 0.5575 GB, free: 5.25 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.5904, allocations: 27.92 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5904, allocations: 4 kB / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5905, allocations: 144 / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5905, allocations: 0 / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5905, allocations: 3.953 kB / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.5907, allocations: 183.4 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.5908, allocations: 93 kB / 0.5578 GB, free: 4.91 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.5909, allocations: 7.938 kB / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.591, allocations: 12 kB / 0.5578 GB, free: 4.891 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.5911, allocations: 11.94 kB / 0.5578 GB, free: 4.879 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.5911, allocations: 0 / 0.5578 GB, free: 4.879 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.5912, allocations: 109.3 kB / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5913, allocations: 0 / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.5916, allocations: 31.98 kB / 0.5579 GB, free: 4.742 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00115/0.5928, allocations: 380.6 kB / 0.5583 GB, free: 4.406 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.593, allocations: 44 kB / 0.5583 GB, free: 4.363 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5931, allocations: 8 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.5931, allocations: 31.92 kB / 0.5584 GB, free: 4.324 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.5934, allocations: 19.84 kB / 0.5584 GB, free: 4.305 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.5939, allocations: 161.8 kB / 0.5586 GB, free: 4.117 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.5943, allocations: 0.704 MB / 0.5592 GB, free: 3.387 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.5944, allocations: 23.42 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5944, allocations: 7.938 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of Templates: time 0.005287/0.5997, allocations: 1.84 MB / 0.5611 GB, free: 1.516 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)