Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005835/0.005835, allocations: 102 kB / 15.73 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 194.6 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3615/0.3615, allocations: 37.99 MB / 307.9 MB, free: 10.26 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 75.89 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3717, allocations: 56.46 MB / 489.5 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00345/0.3752, allocations: 1.987 MB / 491.5 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3768, allocations: 0.8924 MB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.377, allocations: 1.938 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.3774, allocations: 47.86 kB / 492.4 MB, free: 18.02 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3777, allocations: 77.97 kB / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.378, allocations: 121.1 kB / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.3784, allocations: 195.7 kB / 492.8 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3785, allocations: 38.2 kB / 492.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3786, allocations: 78.09 kB / 492.9 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3788, allocations: 82.12 kB / 493 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.3788, allocations: 15.12 kB / 493 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.379, allocations: 54.72 kB / 493.1 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.3791, allocations: 36.25 kB / 493.1 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.3792, allocations: 70.56 kB / 493.2 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.3795, allocations: 194.9 kB / 493.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3795, allocations: 0 / 493.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3795, allocations: 0 / 493.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3795, allocations: 1.734 kB / 493.4 MB, free: 17.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009561/0.3805, allocations: 0.5504 MB / 493.9 MB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3806, allocations: 13.61 kB / 493.9 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.3806, allocations: 18.5 kB / 494 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.381, allocations: 250.9 kB / 494.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.381, allocations: 4.578 kB / 494.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.3811, allocations: 14.45 kB / 494.2 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.3815, allocations: 155 kB / 494.4 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3815, allocations: 4.594 kB / 494.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3815, allocations: 1.125 kB / 494.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3815, allocations: 6.797 kB / 494.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.382, allocations: 113.5 kB / 494.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.3826, allocations: 0.5356 MB / 495 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.3833, allocations: 162.3 kB / 495.2 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.3835, allocations: 78.23 kB / 495.3 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.3835, allocations: 5.406 kB / 495.3 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.3839, allocations: 136.7 kB / 495.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.3839, allocations: 0 / 495.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008714/0.3848, allocations: 263.4 kB / 495.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3848, allocations: 58.23 kB / 495.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3851, allocations: 228.2 kB / 495.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3851, allocations: 31.55 kB / 496 MB, free: 15.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.3852, allocations: 123 kB / 496.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.3852, allocations: 35.45 kB / 496.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.3853, allocations: 36.55 kB / 496.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.3854, allocations: 334.1 kB / 496.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.3856, allocations: 64.73 kB / 496.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.3859, allocations: 112.1 kB / 496.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.3864, allocations: 191.1 kB / 496.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3864, allocations: 0 / 496.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007297/0.3872, allocations: 255.9 kB / 497.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.3872, allocations: 34.64 kB / 497.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3872, allocations: 1.25 kB / 497.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3873, allocations: 1.281 kB / 497.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3875, allocations: 49.83 kB / 497.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3875, allocations: 3.016 kB / 497.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3877, allocations: 32.11 kB / 497.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3877, allocations: 6.094 kB / 497.2 MB, free: 14.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.3879, allocations: 132 kB / 497.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3879, allocations: 16.16 kB / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.388, allocations: 21.73 kB / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.388, allocations: 5.828 kB / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.388, allocations: 4 kB / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.388, allocations: 1.625 kB / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3882, allocations: 233.7 kB / 497.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3883, allocations: 1.375 kB / 497.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3884, allocations: 26.42 kB / 497.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3884, allocations: 1.375 kB / 497.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3885, allocations: 6.406 kB / 497.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3885, allocations: 5.969 kB / 497.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3885, allocations: 0 / 497.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.3894, allocations: 304.3 kB / 498 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3894, allocations: 93.94 kB / 498.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3895, allocations: 7.188 kB / 498.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.3896, allocations: 27.69 kB / 498.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.3897, allocations: 16.62 kB / 498.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3898, allocations: 3.922 kB / 498.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3899, allocations: 171.7 kB / 498.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3899, allocations: 0 / 498.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3902, allocations: 34.97 kB / 498.3 MB, free: 14.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009929/0.3912, allocations: 420.2 kB / 498.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.3918, allocations: 218.7 kB / 498.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3919, allocations: 0 / 498.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.3921, allocations: 84.88 kB / 499 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3925, allocations: 41.84 kB / 499.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.3932, allocations: 322.8 kB / 499.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.3934, allocations: 0.7286 MB / 0.4884 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.664e-05/0.3935, allocations: 26.56 kB / 0.4884 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.3935, allocations: 19.75 kB / 0.4884 GB, free: 12.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3935, allocations: 0 / 0.4884 GB, free: 12.69 MB / 382.1 MB Notification: Performance of Templates: time 0.008658/0.4022, allocations: 2.807 MB / 0.4912 GB, free: 12.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)