Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007273/0.007273, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001547/0.001547, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.559/1.559, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.3771/0.3771, allocations: 39.94 MB / 309.8 MB, free: 9.418 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.001936/0.001936, allocations: 75.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.392, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003623/0.3957, allocations: 1.647 MB / 494.4 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3972, allocations: 0.7919 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.3973, allocations: 1.094 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.3977, allocations: 60.45 kB / 495.2 MB, free: 17.71 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.000331/0.398, allocations: 67.8 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3983, allocations: 78.61 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.3985, allocations: 96.31 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.049e-05/0.3986, allocations: 12.7 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3987, allocations: 49.92 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3989, allocations: 44.34 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3989, allocations: 3.938 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.399, allocations: 33.5 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.3991, allocations: 18.8 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.3992, allocations: 23.98 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3994, allocations: 103.8 kB / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3994, allocations: 0 / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3994, allocations: 0 / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3994, allocations: 1.156 kB / 495.7 MB, free: 17.47 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.0005594/0.4, allocations: 409.8 kB / 496.1 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4001, allocations: 13.8 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.4001, allocations: 8.844 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.4004, allocations: 205.7 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4005, allocations: 1.719 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4005, allocations: 7.438 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4006, allocations: 46.03 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.4007, allocations: 4 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4007, allocations: 4.703 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4007, allocations: 1.219 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.4008, allocations: 22.25 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.401, allocations: 179.8 kB / 496.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4012, allocations: 52.27 kB / 496.7 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.4012, allocations: 28.59 kB / 496.7 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.4013, allocations: 0 / 496.7 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.4014, allocations: 60.77 kB / 496.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.063e-06/0.4014, allocations: 0 / 496.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002882/0.4017, allocations: 96.61 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4018, allocations: 56.44 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.402, allocations: 180.5 kB / 497.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.402, allocations: 29.7 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.402, allocations: 103.7 kB / 497.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.4021, allocations: 15.59 kB / 497.2 MB, free: 16.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.4021, allocations: 20.3 kB / 497.3 MB, free: 16.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.4022, allocations: 320.8 kB / 497.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.4023, allocations: 14.11 kB / 497.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.4023, allocations: 35.17 kB / 497.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.4024, allocations: 54.44 kB / 497.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4025, allocations: 1.031 kB / 497.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.4026, allocations: 83.78 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4026, allocations: 6.281 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4027, allocations: 0 / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4027, allocations: 1.312 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.4028, allocations: 10.08 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.4028, allocations: 6.094 kB / 497.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.4028, allocations: 7.438 kB / 497.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4029, allocations: 1.406 kB / 497.8 MB, free: 15.63 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 0.000105/0.403, allocations: 124.2 kB / 497.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.403, allocations: 10.78 kB / 497.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.4031, allocations: 14.12 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4031, allocations: 0 / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4031, allocations: 0 / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4031, allocations: 2.109 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4032, allocations: 189.8 kB / 498.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4033, allocations: 0 / 498.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.4033, allocations: 7.891 kB / 498.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4033, allocations: 5.031 kB / 498.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4033, allocations: 1.094 kB / 498.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4033, allocations: 0.6094 kB / 498.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4033, allocations: 0 / 498.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.4035, allocations: 109.2 kB / 498.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.4036, allocations: 92.33 kB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.4036, allocations: 1.578 kB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.4037, allocations: 3.547 kB / 498.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4037, allocations: 10.62 kB / 498.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4037, allocations: 4.359 kB / 498.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.4039, allocations: 142.5 kB / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4039, allocations: 0 / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.4041, allocations: 17.88 kB / 498.5 MB, free: 14.98 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.0009836/0.4051, allocations: 433.8 kB / 498.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4053, allocations: 37.3 kB / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4053, allocations: 0 / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.4054, allocations: 23.27 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.4057, allocations: 37.7 kB / 499 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.4062, allocations: 200.2 kB / 499.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.4064, allocations: 0.7009 MB / 499.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.214e-05/0.4065, allocations: 15.5 kB / 499.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.4066, allocations: 18.09 kB / 500 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4066, allocations: 0 / 500 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005634/0.4122, allocations: 1.488 MB / 0.4897 GB, free: 13.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)