Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0101/0.01011, allocations: 105 kB / 15.74 MB, free: 5.984 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.002113/0.002113, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.68/1.68, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3474/0.3474, allocations: 39.95 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.001467/0.001467, allocations: 71.91 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4263, allocations: 56.88 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003547/0.4299, allocations: 1.843 MB / 494.6 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.4315, allocations: 0.9004 MB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.4316, allocations: 5.188 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.4321, allocations: 157.7 kB / 495.6 MB, free: 17.47 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.0004018/0.4325, allocations: 135.6 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.4329, allocations: 141.5 kB / 495.9 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.4333, allocations: 216.5 kB / 496.1 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4335, allocations: 25.95 kB / 496.1 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.4337, allocations: 103.7 kB / 496.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.4339, allocations: 125.8 kB / 496.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.434, allocations: 7.969 kB / 496.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.4341, allocations: 44.66 kB / 496.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4342, allocations: 50.84 kB / 496.5 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.4343, allocations: 75.03 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.4346, allocations: 196.7 kB / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4347, allocations: 0.7031 kB / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4347, allocations: 4 kB / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.4347, allocations: 0 / 496.7 MB, free: 16.99 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007682/0.4355, allocations: 0.517 MB / 497.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4355, allocations: 13.55 kB / 497.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.4356, allocations: 27.83 kB / 497.3 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.4361, allocations: 258.7 kB / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.4361, allocations: 7.094 kB / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.4362, allocations: 12.83 kB / 497.6 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.4365, allocations: 98.08 kB / 497.7 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4365, allocations: 1.406 kB / 497.7 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4366, allocations: 0.7031 kB / 497.7 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4366, allocations: 2.812 kB / 497.7 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.4367, allocations: 43.41 kB / 497.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.4374, allocations: 440.7 kB / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.4378, allocations: 117.3 kB / 498.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4379, allocations: 42.92 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.438, allocations: 7.5 kB / 498.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.4382, allocations: 106.5 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.4383, allocations: 1.375 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00121/0.4395, allocations: 354.1 kB / 498.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.4396, allocations: 88.12 kB / 498.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.4402, allocations: 353.3 kB / 499.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.4402, allocations: 32.47 kB / 499.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4403, allocations: 139 kB / 499.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.4404, allocations: 51.39 kB / 499.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.4405, allocations: 37.11 kB / 499.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4407, allocations: 337.9 kB / 499.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4408, allocations: 47.42 kB / 499.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.441, allocations: 73.69 kB / 499.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.4413, allocations: 114.2 kB / 500 MB, free: 14.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4413, allocations: 5.734 kB / 500 MB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004115/0.4417, allocations: 184.5 kB / 0.4885 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.4417, allocations: 5.656 kB / 0.4885 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4417, allocations: 1.25 kB / 0.4885 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.4418, allocations: 5.922 kB / 0.4885 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.442, allocations: 33.59 kB / 0.4885 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.442, allocations: 6.766 kB / 0.4885 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.4421, allocations: 8.562 kB / 0.4885 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4421, allocations: 10.72 kB / 0.4885 GB, free: 14.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001994/0.4423, allocations: 147 kB / 0.4887 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.4424, allocations: 24.28 kB / 0.4887 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.4425, allocations: 40.44 kB / 0.4887 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4425, allocations: 2.344 kB / 0.4887 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.4425, allocations: 4.594 kB / 0.4887 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4425, allocations: 1.688 kB / 0.4887 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.4434, allocations: 0.6108 MB / 0.4893 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4434, allocations: 1.469 kB / 0.4893 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.4434, allocations: 25.14 kB / 0.4894 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4435, allocations: 1.406 kB / 0.4894 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.4435, allocations: 5.188 kB / 0.4894 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.4435, allocations: 2.5 kB / 0.4894 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4435, allocations: 2.094 kB / 0.4894 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.4439, allocations: 369.8 kB / 0.4897 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.4439, allocations: 99.69 kB / 0.4898 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.444, allocations: 5.109 kB / 0.4898 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4441, allocations: 8.484 kB / 0.4898 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.4442, allocations: 11.5 kB / 0.4898 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.4442, allocations: 16 kB / 0.4899 GB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.4445, allocations: 261.3 kB / 0.4901 GB, free: 13.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4445, allocations: 0 / 0.4901 GB, free: 13.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.4448, allocations: 42.66 kB / 0.4901 GB, free: 13.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001231/0.4461, allocations: 471.2 kB / 0.4906 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4464, allocations: 116.5 kB / 0.4907 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4464, allocations: 0 / 0.4907 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.4465, allocations: 61.58 kB / 0.4908 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.4471, allocations: 65.86 kB / 0.4908 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.4479, allocations: 435.7 kB / 0.4912 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.4483, allocations: 0.7518 MB / 0.492 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.4484, allocations: 33.8 kB / 0.492 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.4484, allocations: 28.83 kB / 0.492 GB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4485, allocations: 0 / 0.492 GB, free: 11.69 MB / 382.1 MB Notification: Performance of Templates: time 0.008706/0.4572, allocations: 2.755 MB / 0.4947 GB, free: 11.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)