Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006286/0.006286, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001183/0.001183, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3952/0.3952, allocations: 39.94 MB / 309.8 MB, free: 9.602 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.2. 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.001405/0.001405, allocations: 71.91 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003433/0.3513, allocations: 1.687 MB / 494.4 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3526, allocations: 0.8061 MB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.3527, allocations: 4 kB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.3531, allocations: 49.06 kB / 495.3 MB, free: 17.68 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.0002558/0.3533, allocations: 58 kB / 495.3 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3536, allocations: 84.27 kB / 495.4 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3538, allocations: 95.2 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3539, allocations: 24.48 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.354, allocations: 45.5 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3541, allocations: 29.62 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3542, allocations: 3.938 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3543, allocations: 38.88 kB / 495.6 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.3544, allocations: 27.45 kB / 495.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.3544, allocations: 37.92 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3547, allocations: 138 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3547, allocations: 4 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3547, allocations: 0 / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.3547, allocations: 0 / 495.8 MB, free: 17.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005715/0.3553, allocations: 438.8 kB / 496.3 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3553, allocations: 15.25 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3554, allocations: 9.562 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3556, allocations: 226.3 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3557, allocations: 1.625 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3557, allocations: 8.188 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3559, allocations: 60.23 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3559, allocations: 5.734 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3559, allocations: 0 / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3559, allocations: 0.9688 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.356, allocations: 19.77 kB / 496.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.3564, allocations: 292.8 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3566, allocations: 64.11 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.3567, allocations: 19.28 kB / 497 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.3567, allocations: 6 kB / 497 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3569, allocations: 65.95 kB / 497 MB, free: 16.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3569, allocations: 0 / 497 MB, free: 16.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.3574, allocations: 182.5 kB / 497.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3575, allocations: 53.38 kB / 497.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3577, allocations: 263 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3577, allocations: 27.55 kB / 497.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.3578, allocations: 122.8 kB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3578, allocations: 16.66 kB / 497.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3579, allocations: 22.23 kB / 497.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.3579, allocations: 333.5 kB / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.358, allocations: 25.16 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.3581, allocations: 43.19 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3582, allocations: 57.8 kB / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3582, allocations: 0 / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.3584, allocations: 107.1 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3584, allocations: 6.703 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3584, allocations: 4.031 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3584, allocations: 1.188 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.3585, allocations: 20.05 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3585, allocations: 0.7031 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.3586, allocations: 8.094 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3586, allocations: 2.812 kB / 498.3 MB, free: 15.31 MB / 382.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.596e-05/0.3587, allocations: 137.1 kB / 498.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.3587, allocations: 14.81 kB / 498.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.3588, allocations: 17.94 kB / 498.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3588, allocations: 6.391 kB / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3588, allocations: 0 / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3588, allocations: 5.25 kB / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.3592, allocations: 406 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3592, allocations: 0 / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.3592, allocations: 9.484 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3593, allocations: 1.281 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3593, allocations: 5.812 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3593, allocations: 5.922 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3593, allocations: 0 / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.3595, allocations: 206.1 kB / 499.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3595, allocations: 89.33 kB / 499.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3596, allocations: 10.86 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.3596, allocations: 2.156 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3597, allocations: 14.39 kB / 499.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3597, allocations: 3.734 kB / 499.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.3599, allocations: 196.8 kB / 499.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3599, allocations: 1.25 kB / 499.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3602, allocations: 25.52 kB / 499.4 MB, free: 14.4 MB / 382.1 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 (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.001046/0.3612, allocations: 474.3 kB / 499.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3614, allocations: 60.77 kB / 500 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3614, allocations: 0 / 500 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.3615, allocations: 32.56 kB / 0.4883 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3619, allocations: 34.67 kB / 0.4883 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.3624, allocations: 284.9 kB / 0.4886 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.3627, allocations: 0.7165 MB / 0.4893 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.3628, allocations: 12.17 kB / 0.4893 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3628, allocations: 16.58 kB / 0.4893 GB, free: 13.08 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3628, allocations: 3.938 kB / 0.4893 GB, free: 13.08 MB / 382.1 MB Notification: Performance of Templates: time 0.006046/0.3689, allocations: 1.757 MB / 0.491 GB, free: 12.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)