Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007039/0.00704, allocations: 102.7 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.001328/0.001328, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.61/1.61, 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.4/0.4, allocations: 39.94 MB / 309.8 MB, free: 9.32 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.001872/0.001872, allocations: 67.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.392, allocations: 56.88 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003189/0.3952, allocations: 1.659 MB / 494.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3966, allocations: 0.7804 MB / 495.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.3967, allocations: 0 / 495.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.397, allocations: 58.38 kB / 495.2 MB, free: 17.76 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.0002621/0.3973, allocations: 54.47 kB / 495.3 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.3976, allocations: 86.7 kB / 495.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.3978, allocations: 88.17 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.3978, allocations: 13.28 kB / 495.5 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.398, allocations: 45.64 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.3981, allocations: 25.5 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3981, allocations: 1.719 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.3982, allocations: 32.12 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3983, allocations: 34.78 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.3984, allocations: 41.83 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3987, allocations: 113.1 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3987, allocations: 0 / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3987, allocations: 4 kB / 495.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3987, allocations: 0 / 495.7 MB, free: 17.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006797/0.3994, allocations: 431.9 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3994, allocations: 13.45 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.3995, allocations: 11.31 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.3998, allocations: 220.7 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3998, allocations: 3.188 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3999, allocations: 9.5 kB / 496.4 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.4, allocations: 51 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4, allocations: 0 / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4, allocations: 1.656 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4, allocations: 3.984 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.4001, allocations: 14.25 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.4004, allocations: 190.5 kB / 496.7 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.4005, allocations: 57.23 kB / 496.7 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.4006, allocations: 26.44 kB / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4006, allocations: 1.406 kB / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.4008, allocations: 72.61 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4008, allocations: 1.469 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003056/0.4011, allocations: 96.44 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.4012, allocations: 52.66 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.4015, allocations: 261.5 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4015, allocations: 27.08 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.4016, allocations: 111.2 kB / 497.4 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.4016, allocations: 12.05 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.4017, allocations: 23.17 kB / 497.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.4018, allocations: 327.9 kB / 497.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.4018, allocations: 14.28 kB / 497.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.4019, allocations: 30.66 kB / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.578e-05/0.402, allocations: 43.28 kB / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.402, allocations: 3.938 kB / 497.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001488/0.4021, allocations: 86.14 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4022, allocations: 4.562 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.4022, allocations: 1.531 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4022, allocations: 1.656 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.4023, allocations: 21.66 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4023, allocations: 1.219 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.4023, allocations: 3.375 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4024, allocations: 1.875 kB / 497.9 MB, free: 15.59 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 (7): * Single equations (assignments): 7 * 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.332e-05/0.4025, allocations: 140.8 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.4025, allocations: 14.81 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.4026, allocations: 17.59 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4026, allocations: 1.781 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4026, allocations: 0 / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4026, allocations: 4.656 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.4027, allocations: 197.8 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4028, allocations: 0.75 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.4028, allocations: 9.344 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4028, allocations: 0 / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4028, allocations: 1.469 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4028, allocations: 0.8438 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4028, allocations: 0 / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.403, allocations: 122.8 kB / 498.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.403, allocations: 84.8 kB / 498.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.4031, allocations: 2.328 kB / 498.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.4031, allocations: 2.688 kB / 498.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.4032, allocations: 7.422 kB / 498.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4032, allocations: 2.234 kB / 498.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.4034, allocations: 192.5 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4034, allocations: 0 / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.4036, allocations: 23 kB / 498.7 MB, free: 14.91 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008979/0.4045, allocations: 423.5 kB / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.4047, allocations: 44.5 kB / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4047, allocations: 0 / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.4048, allocations: 19.17 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4051, allocations: 37.25 kB / 499.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.4057, allocations: 262.4 kB / 499.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4059, allocations: 0.7125 MB / 0.4885 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.406, allocations: 10.8 kB / 0.4885 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.406, allocations: 14.22 kB / 0.4885 GB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4061, allocations: 1.406 kB / 0.4885 GB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.005097/0.4112, allocations: 1.525 MB / 0.49 GB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)