Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001076/0.001076, allocations: 165.9 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.291/1.291, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 107.5 kB / 218 MB, free: 8.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1666/0.1666, allocations: 37.98 MB / 295.1 MB, free: 9.527 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.01e-05, allocations: 5.781 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08334, allocations: 48.73 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.3977, allocations: 75.07 MB / 473.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.3982, allocations: 69.2 kB / 473.9 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.4094, allocations: 3.845 MB / 477.7 MB, free: 33.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4095, allocations: 0 / 477.7 MB, free: 33.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4095, allocations: 5.25 kB / 477.7 MB, free: 33.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003539/0.4099, allocations: 405.3 kB / 478.1 MB, free: 32.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4099, allocations: 9.062 kB / 478.1 MB, free: 32.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.41, allocations: 11.47 kB / 478.1 MB, free: 32.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.4102, allocations: 197.6 kB / 478.3 MB, free: 32.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4102, allocations: 7.219 kB / 478.3 MB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4102, allocations: 7.016 kB / 478.4 MB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.515e-05/0.4103, allocations: 13.77 kB / 478.4 MB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.4104, allocations: 42.33 kB / 478.4 MB, free: 32.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4104, allocations: 1.062 kB / 478.4 MB, free: 32.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4104, allocations: 0 / 478.4 MB, free: 32.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4104, allocations: 1 kB / 478.4 MB, free: 32.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.4107, allocations: 275.3 kB / 478.7 MB, free: 32.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.4109, allocations: 39.78 kB / 478.7 MB, free: 32.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.4109, allocations: 12.67 kB / 478.7 MB, free: 32.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.4109, allocations: 3.156 kB / 478.7 MB, free: 32.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.411, allocations: 53.84 kB / 478.8 MB, free: 32.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4111, allocations: 0 / 478.8 MB, free: 32.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003235/0.4114, allocations: 102 kB / 478.9 MB, free: 32.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.4114, allocations: 56.78 kB / 478.9 MB, free: 32.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4115, allocations: 150.9 kB / 479.1 MB, free: 32.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4116, allocations: 28.81 kB / 479.1 MB, free: 32.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.4116, allocations: 93.31 kB / 479.2 MB, free: 32.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.4116, allocations: 16.41 kB / 479.2 MB, free: 32.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.4116, allocations: 0 / 479.2 MB, free: 32.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.4117, allocations: 319.5 kB / 479.5 MB, free: 31.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.4117, allocations: 18.62 kB / 479.6 MB, free: 31.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.4118, allocations: 26.45 kB / 479.6 MB, free: 31.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.4118, allocations: 24.36 kB / 479.6 MB, free: 31.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4118, allocations: 96 / 479.6 MB, free: 31.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001412/0.412, allocations: 95.16 kB / 479.7 MB, free: 31.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.412, allocations: 37.48 kB / 479.7 MB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.412, allocations: 0 / 479.7 MB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.412, allocations: 0 / 479.7 MB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.4121, allocations: 10.03 kB / 479.7 MB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4121, allocations: 5.312 kB / 479.7 MB, free: 31.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.4121, allocations: 7.125 kB / 479.8 MB, free: 31.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4122, allocations: 12.08 kB / 479.8 MB, free: 31.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 4.84e-05/0.4122, allocations: 103.7 kB / 479.9 MB, free: 31.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.4122, allocations: 8.484 kB / 479.9 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.4124, allocations: 83.88 kB / 480 MB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4124, allocations: 5.312 kB / 480 MB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4124, allocations: 0 / 480 MB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4124, allocations: 1.922 kB / 480 MB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.4127, allocations: 331.9 kB / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4127, allocations: 0 / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.4127, allocations: 9.141 kB / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4127, allocations: 0 / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4127, allocations: 1.188 kB / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4128, allocations: 1.188 kB / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4128, allocations: 0 / 480.3 MB, free: 31.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4129, allocations: 170.1 kB / 480.5 MB, free: 31.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.4129, allocations: 95.14 kB / 480.6 MB, free: 31.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.413, allocations: 5.891 kB / 480.6 MB, free: 31.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.413, allocations: 1.094 kB / 480.6 MB, free: 31.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4131, allocations: 8.984 kB / 480.6 MB, free: 31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4131, allocations: 2.344 kB / 480.6 MB, free: 31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.535e-05/0.4132, allocations: 121.9 kB / 480.7 MB, free: 30.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4132, allocations: 0 / 480.7 MB, free: 30.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002926/0.4135, allocations: 30.94 kB / 480.7 MB, free: 30.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005886/0.4141, allocations: 302.2 kB / 481 MB, free: 30.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.4142, allocations: 108.4 kB / 481.1 MB, free: 30.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4142, allocations: 1.312 kB / 481.1 MB, free: 30.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.4143, allocations: 16.75 kB / 481.1 MB, free: 30.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4145, allocations: 13.98 kB / 481.2 MB, free: 30.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.4148, allocations: 124.4 kB / 481.3 MB, free: 30.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.4151, allocations: 0.6979 MB / 482 MB, free: 29.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.415e-05/0.4151, allocations: 15.7 kB / 482 MB, free: 29.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.4152, allocations: 14.53 kB / 482 MB, free: 29.85 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4152, allocations: 0 / 482 MB, free: 29.85 MB / 346.7 MB Notification: Performance of Templates: time 0.00372/0.4189, allocations: 1.424 MB / 483.4 MB, free: 29.67 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)