Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008411/0.008411, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001655/0.001655, allocations: 196.7 kB / 16.68 MB, free: 5.926 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.4009/0.4009, allocations: 39.95 MB / 309.9 MB, free: 9.355 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.00165/0.001651, allocations: 72.47 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4159, allocations: 56.87 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00365/0.4196, allocations: 1.9 MB / 494.6 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.421, allocations: 0.8432 MB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.4212, allocations: 6.25 kB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4216, allocations: 45.52 kB / 495.5 MB, free: 17.48 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.0002379/0.4218, allocations: 61.16 kB / 495.6 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.4222, allocations: 97.81 kB / 495.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.4224, allocations: 145.8 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.4226, allocations: 40 kB / 495.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4227, allocations: 48.66 kB / 495.9 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4228, allocations: 54.42 kB / 495.9 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.4228, allocations: 6.75 kB / 495.9 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.423, allocations: 41.66 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.423, allocations: 26.91 kB / 496 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.4231, allocations: 54.72 kB / 496.1 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.4234, allocations: 144.4 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4234, allocations: 1.406 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4234, allocations: 0.7031 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4234, allocations: 4 kB / 496.2 MB, free: 17.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006063/0.424, allocations: 476.1 kB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4241, allocations: 13.3 kB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.4242, allocations: 15.03 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.4245, allocations: 230.1 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4245, allocations: 8.797 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.4245, allocations: 9.125 kB / 497 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4248, allocations: 113.1 kB / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4248, allocations: 0 / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.4248, allocations: 2.453 kB / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4248, allocations: 1.906 kB / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.425, allocations: 51.08 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.4255, allocations: 0.5113 MB / 497.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.4259, allocations: 90.98 kB / 497.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.426, allocations: 41.2 kB / 497.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.426, allocations: 1.188 kB / 497.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.4262, allocations: 86.45 kB / 497.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.4262, allocations: 0 / 497.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004226/0.4267, allocations: 135.2 kB / 498 MB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.4267, allocations: 57.27 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4269, allocations: 199 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.4269, allocations: 26.77 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.427, allocations: 115.6 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.4271, allocations: 26.42 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.4271, allocations: 28.92 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.4272, allocations: 331 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.4273, allocations: 29.94 kB / 498.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4274, allocations: 74.02 kB / 498.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4276, allocations: 96.86 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4276, allocations: 0 / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002655/0.4279, allocations: 137 kB / 499.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4279, allocations: 6.062 kB / 499.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.428, allocations: 2.344 kB / 499.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.428, allocations: 2.109 kB / 499.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4281, allocations: 29.52 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.4281, allocations: 2.062 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.4282, allocations: 22.69 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4282, allocations: 8.719 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001019/0.4283, allocations: 125.6 kB / 499.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.4283, allocations: 15.36 kB / 499.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.4284, allocations: 15.12 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4284, allocations: 5.312 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.4284, allocations: 0.7031 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.4284, allocations: 4.781 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.4286, allocations: 213.2 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4286, allocations: 1.891 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.4287, allocations: 10.55 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4287, allocations: 2.141 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4288, allocations: 1.75 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4288, allocations: 4.594 kB / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4288, allocations: 0 / 499.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.4292, allocations: 187.2 kB / 499.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.4292, allocations: 85.69 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.4292, allocations: 2.094 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.4293, allocations: 8.766 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4294, allocations: 10.05 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4294, allocations: 3.828 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.4295, allocations: 140.2 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4295, allocations: 0 / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.4298, allocations: 27.17 kB / 500 MB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009383/0.4307, allocations: 427.6 kB / 0.4887 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.431, allocations: 76.67 kB / 0.4888 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.431, allocations: 1.438 kB / 0.4888 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.4311, allocations: 38.55 kB / 0.4888 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4315, allocations: 41.31 kB / 0.4888 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.432, allocations: 269.1 kB / 0.4891 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.4322, allocations: 0.7145 MB / 0.4898 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.4323, allocations: 23.78 kB / 0.4898 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.4324, allocations: 16.98 kB / 0.4898 GB, free: 12.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4324, allocations: 0 / 0.4898 GB, free: 12.72 MB / 382.1 MB Notification: Performance of Templates: time 0.006426/0.4388, allocations: 1.912 MB / 0.4917 GB, free: 12.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)