Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008593/0.008593, allocations: 103.7 kB / 15.73 MB, free: 6.008 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.001275/0.001275, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3986/0.3986, allocations: 39.94 MB / 309.8 MB, free: 9.414 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.001534/0.001534, allocations: 79.88 kB / 435.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4156, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004599/0.4203, allocations: 1.685 MB / 494.4 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.4222, allocations: 0.8014 MB / 495.2 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.4223, allocations: 4.969 kB / 495.2 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.4229, allocations: 46.27 kB / 495.3 MB, free: 17.67 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.0003281/0.4232, allocations: 59.89 kB / 495.3 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.4236, allocations: 81.11 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.4238, allocations: 95.28 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.4239, allocations: 24.16 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.424, allocations: 40.39 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.4241, allocations: 30.55 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.4242, allocations: 8.375 kB / 495.6 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.4243, allocations: 37.75 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.4244, allocations: 29.02 kB / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.4244, allocations: 42.33 kB / 495.7 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.4247, allocations: 120.1 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4247, allocations: 4 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4247, allocations: 0 / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4247, allocations: 5.156 kB / 495.8 MB, free: 17.38 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.0006364/0.4254, allocations: 425.9 kB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4254, allocations: 13.73 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.4255, allocations: 10 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.4258, allocations: 215.9 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4259, allocations: 2.906 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.4259, allocations: 10.78 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.4261, allocations: 48.48 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4261, allocations: 6.453 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4261, allocations: 4 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4261, allocations: 1.438 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.4262, allocations: 17.7 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4266, allocations: 285.7 kB / 496.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4268, allocations: 64.28 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.4269, allocations: 21.91 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.4269, allocations: 0 / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.4271, allocations: 66.09 kB / 497 MB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.4271, allocations: 0 / 497 MB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006083/0.4277, allocations: 181.8 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4278, allocations: 57.09 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.428, allocations: 218.8 kB / 497.4 MB, free: 16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.428, allocations: 31.02 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.4281, allocations: 105.8 kB / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.4282, allocations: 29.88 kB / 497.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.4282, allocations: 21.17 kB / 497.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.4283, allocations: 336.7 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.4284, allocations: 17.05 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.4284, allocations: 39.25 kB / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.4286, allocations: 61.2 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4286, allocations: 1.562 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.4288, allocations: 101.8 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4288, allocations: 9.547 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4289, allocations: 0 / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4289, allocations: 6.422 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.429, allocations: 22.09 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.429, allocations: 1.188 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.4291, allocations: 11.03 kB / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.4291, allocations: 3.062 kB / 498.2 MB, free: 15.34 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.546e-05/0.4292, allocations: 130.2 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.4292, allocations: 10.58 kB / 498.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.4293, allocations: 16 kB / 498.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4293, allocations: 2.281 kB / 498.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4293, allocations: 4 kB / 498.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4293, allocations: 4.547 kB / 498.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.4298, allocations: 398.5 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4298, allocations: 0 / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.4298, allocations: 8.75 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4299, allocations: 1.375 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4299, allocations: 6.797 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4299, allocations: 0.7031 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4299, allocations: 1.312 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.4301, allocations: 205.3 kB / 499 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4302, allocations: 93.44 kB / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4302, allocations: 10.7 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.4303, allocations: 3.391 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.4303, allocations: 4.797 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4304, allocations: 5.031 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.4305, allocations: 174.5 kB / 499.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4305, allocations: 0 / 499.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.4308, allocations: 26.53 kB / 499.3 MB, free: 14.45 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.0011/0.4319, allocations: 479 kB / 499.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4322, allocations: 64.34 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4322, allocations: 0 / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.4323, allocations: 33.42 kB / 499.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4327, allocations: 30.78 kB / 499.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.4332, allocations: 256.6 kB / 0.4884 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.4335, allocations: 0.7107 MB / 0.4891 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.4335, allocations: 13.75 kB / 0.4891 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.4336, allocations: 16.05 kB / 0.4891 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4336, allocations: 0 / 0.4891 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.006469/0.4401, allocations: 1.744 MB / 0.4909 GB, free: 12.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)