Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0117/0.01171, allocations: 99.59 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.002266/0.002266, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.628/1.628, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.3749/0.3749, allocations: 39.95 MB / 309.9 MB, free: 9.445 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.001529/0.00153, allocations: 75.91 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3869, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003741/0.3907, allocations: 1.701 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3921, allocations: 0.8119 MB / 495.2 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.3922, allocations: 1.031 kB / 495.2 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.3927, allocations: 45.58 kB / 495.3 MB, free: 17.72 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.0003049/0.393, allocations: 63.39 kB / 495.3 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.3933, allocations: 85.19 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3936, allocations: 97.95 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3937, allocations: 16.19 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3938, allocations: 40.66 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.394, allocations: 30.33 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.394, allocations: 4.219 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3942, allocations: 45.88 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.3943, allocations: 23.39 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.3944, allocations: 38.52 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.3947, allocations: 138.6 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3948, allocations: 1.031 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3948, allocations: 0 / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3948, allocations: 3.938 kB / 495.8 MB, free: 17.44 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.0007432/0.3955, allocations: 437.3 kB / 496.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3956, allocations: 12.86 kB / 496.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.3957, allocations: 23.61 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.396, allocations: 226.2 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.396, allocations: 5.812 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.396, allocations: 6.594 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3962, allocations: 53.97 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3962, allocations: 0 / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3962, allocations: 1.906 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3962, allocations: 0 / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.248e-05/0.3963, allocations: 26.59 kB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3967, allocations: 301.4 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.3969, allocations: 56.42 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.397, allocations: 20.16 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.397, allocations: 1.5 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3972, allocations: 77.19 kB / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.3972, allocations: 0 / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005758/0.3978, allocations: 179.7 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3978, allocations: 53.58 kB / 497.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3982, allocations: 261.2 kB / 497.6 MB, free: 16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3982, allocations: 31.67 kB / 497.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.3983, allocations: 110.8 kB / 497.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3983, allocations: 30.69 kB / 497.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3983, allocations: 21.91 kB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.3984, allocations: 333.2 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.3985, allocations: 21.59 kB / 498.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.3986, allocations: 36.27 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3987, allocations: 60.66 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3987, allocations: 5.375 kB / 498.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.3989, allocations: 104.5 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3989, allocations: 5.859 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.399, allocations: 1.344 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.399, allocations: 1.312 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3991, allocations: 19.19 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3991, allocations: 6.109 kB / 498.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3992, allocations: 7.391 kB / 498.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3992, allocations: 2.625 kB / 498.3 MB, free: 15.35 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 0.0001049/0.3993, allocations: 138.4 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.3993, allocations: 13.41 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.3994, allocations: 22.31 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3994, allocations: 1.281 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3994, allocations: 1.25 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3994, allocations: 8.438 kB / 498.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3998, allocations: 398.5 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3999, allocations: 4.781 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.3999, allocations: 8.922 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3999, allocations: 0.7031 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3999, allocations: 6.141 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3999, allocations: 5.875 kB / 498.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3999, allocations: 0.5625 kB / 498.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4002, allocations: 202.7 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.4002, allocations: 93.47 kB / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.4003, allocations: 11.05 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.4004, allocations: 5.672 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.4004, allocations: 6.438 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.4004, allocations: 8.281 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4006, allocations: 196.5 kB / 499.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4006, allocations: 0 / 499.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4009, allocations: 28.12 kB / 499.5 MB, free: 14.43 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.001146/0.4021, allocations: 470.2 kB / 499.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4023, allocations: 56.06 kB / 500 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4023, allocations: 0 / 500 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.4024, allocations: 37.05 kB / 0.4883 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.4028, allocations: 30.58 kB / 0.4883 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.4033, allocations: 293.4 kB / 0.4886 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.4035, allocations: 0.7117 MB / 0.4893 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.4036, allocations: 21.52 kB / 0.4893 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.4037, allocations: 24.05 kB / 0.4893 GB, free: 13.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4037, allocations: 0 / 0.4893 GB, free: 13.1 MB / 382.1 MB Notification: Performance of Templates: time 0.0064/0.4101, allocations: 1.721 MB / 0.491 GB, free: 12.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)