Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007447/0.007447, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001301/0.001301, allocations: 187.6 kB / 16.67 MB, free: 5.918 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.638/1.638, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3429/0.3429, allocations: 39.95 MB / 309.8 MB, free: 9.336 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.001472/0.001472, allocations: 67.91 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3544, allocations: 56.87 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003047/0.3575, allocations: 1.695 MB / 494.4 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3588, allocations: 0.8067 MB / 495.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.3589, allocations: 1.188 kB / 495.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.3593, allocations: 35.25 kB / 495.3 MB, free: 17.66 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.0002334/0.3595, allocations: 54.62 kB / 495.3 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3598, allocations: 79.16 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.36, allocations: 103.6 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3601, allocations: 19.94 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.3602, allocations: 41.42 kB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.3603, allocations: 38.23 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3603, allocations: 3.062 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3604, allocations: 38.34 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.3605, allocations: 17.64 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.3606, allocations: 34.67 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3608, allocations: 115.9 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3608, allocations: 0.5156 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3608, allocations: 1.125 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3609, allocations: 4 kB / 495.8 MB, free: 17.4 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.0005779/0.3614, allocations: 414.1 kB / 496.2 MB, free: 16.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3615, allocations: 14.41 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3615, allocations: 13.38 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3618, allocations: 207.2 kB / 496.4 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3618, allocations: 5.812 kB / 496.4 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3619, allocations: 6.531 kB / 496.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.362, allocations: 53.2 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3621, allocations: 5.344 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3621, allocations: 0.7031 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3621, allocations: 5.375 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.3622, allocations: 21.5 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.3625, allocations: 287 kB / 496.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3627, allocations: 56.08 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.3628, allocations: 23.84 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3628, allocations: 0.875 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.363, allocations: 74.12 kB / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.363, allocations: 1.25 kB / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.3636, allocations: 176.2 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.3636, allocations: 56.11 kB / 497.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3638, allocations: 185.2 kB / 497.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3638, allocations: 26.89 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.3639, allocations: 99.91 kB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3639, allocations: 26.02 kB / 497.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.364, allocations: 26.55 kB / 497.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.364, allocations: 325.5 kB / 497.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.3641, allocations: 21.98 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.3642, allocations: 42.72 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3643, allocations: 57.8 kB / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3643, allocations: 0 / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.3645, allocations: 107.1 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3645, allocations: 8 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3645, allocations: 0.9688 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3645, allocations: 1.406 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.3646, allocations: 18.89 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3647, allocations: 1.562 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3647, allocations: 7.734 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3647, allocations: 2.781 kB / 498.1 MB, free: 15.38 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 7.92e-05/0.3648, allocations: 128.1 kB / 498.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3648, allocations: 10.42 kB / 498.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.3649, allocations: 15.5 kB / 498.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3649, allocations: 0 / 498.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3649, allocations: 5.188 kB / 498.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3649, allocations: 3.938 kB / 498.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.3653, allocations: 393.8 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3653, allocations: 5.188 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.3654, allocations: 11.98 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3654, allocations: 2.766 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3654, allocations: 5 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3654, allocations: 1.891 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3654, allocations: 0 / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.3656, allocations: 205.6 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.3657, allocations: 88.89 kB / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3657, allocations: 5.656 kB / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.3658, allocations: 3.922 kB / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3658, allocations: 8.922 kB / 499 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3658, allocations: 4.203 kB / 499 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.366, allocations: 152.4 kB / 499.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.366, allocations: 0 / 499.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3662, allocations: 26.69 kB / 499.2 MB, free: 14.49 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.00104/0.3673, allocations: 477.6 kB / 499.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3675, allocations: 59.69 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3675, allocations: 1.812 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.3676, allocations: 28.47 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3679, allocations: 31.25 kB / 499.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.3684, allocations: 226.3 kB / 500 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3686, allocations: 0.7049 MB / 0.489 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.3687, allocations: 12.05 kB / 0.489 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.3687, allocations: 17 kB / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3687, allocations: 0 / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005659/0.3744, allocations: 1.697 MB / 0.4906 GB, free: 13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)