Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01099/0.01099, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.00206/0.00206, allocations: 194 kB / 16.67 MB, free: 6.379 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.794/1.794, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.4158/0.4158, allocations: 39.96 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.001857/0.001857, allocations: 71.91 kB / 435.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4174, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003784/0.4212, allocations: 1.832 MB / 494.6 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.4235, allocations: 0.8999 MB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.4237, allocations: 6.469 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.4245, allocations: 254.3 kB / 495.7 MB, free: 17.52 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.0005787/0.4251, allocations: 186.9 kB / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.4257, allocations: 142.9 kB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.4262, allocations: 239.5 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.4264, allocations: 31.25 kB / 496.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.4267, allocations: 125.2 kB / 496.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.4271, allocations: 176.6 kB / 496.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.4271, allocations: 11.5 kB / 496.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.4273, allocations: 49.41 kB / 496.7 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4274, allocations: 63.36 kB / 496.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4276, allocations: 82.52 kB / 496.8 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.428, allocations: 228.5 kB / 497 MB, free: 17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.428, allocations: 0 / 497 MB, free: 17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.428, allocations: 0 / 497 MB, free: 17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.428, allocations: 0 / 497 MB, free: 17 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.0008702/0.4289, allocations: 0.5561 MB / 497.6 MB, free: 16.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/0.429, allocations: 16.8 kB / 497.6 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.4291, allocations: 31.53 kB / 497.6 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.4296, allocations: 288 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4296, allocations: 3.781 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.4296, allocations: 7.719 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.4299, allocations: 95.62 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.4299, allocations: 0 / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.43, allocations: 6.078 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.43, allocations: 5.344 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4301, allocations: 39.75 kB / 498.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006876/0.4308, allocations: 457.7 kB / 498.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.4312, allocations: 115.6 kB / 498.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4313, allocations: 40.03 kB / 498.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.4314, allocations: 2.859 kB / 498.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.4317, allocations: 119.1 kB / 498.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.4317, allocations: 0 / 498.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001107/0.4328, allocations: 382 kB / 499.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.4329, allocations: 88.38 kB / 499.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.4336, allocations: 479.5 kB / 499.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4337, allocations: 31.67 kB / 499.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4338, allocations: 164.8 kB / 499.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.4339, allocations: 44.19 kB / 499.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.4339, allocations: 36.86 kB / 500 MB, free: 14.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4341, allocations: 343.1 kB / 0.4886 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4342, allocations: 38.28 kB / 0.4886 GB, free: 14.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4343, allocations: 74.11 kB / 0.4887 GB, free: 14.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4345, allocations: 131.7 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4346, allocations: 3.938 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003249/0.4349, allocations: 182.9 kB / 0.489 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4349, allocations: 5.125 kB / 0.489 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4349, allocations: 1.672 kB / 0.489 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.435, allocations: 6.375 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.4351, allocations: 33.84 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4352, allocations: 6.031 kB / 0.489 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.4352, allocations: 11.91 kB / 0.4891 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4353, allocations: 5.625 kB / 0.4891 GB, free: 14.23 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.0001574/0.4354, allocations: 168.4 kB / 0.4892 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.4355, allocations: 28.78 kB / 0.4892 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.4356, allocations: 39.16 kB / 0.4893 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4356, allocations: 1.906 kB / 0.4893 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4356, allocations: 9.938 kB / 0.4893 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4356, allocations: 0.7969 kB / 0.4893 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.4364, allocations: 0.6254 MB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4364, allocations: 1.469 kB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.4365, allocations: 17.08 kB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4365, allocations: 1.812 kB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4365, allocations: 8.906 kB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4365, allocations: 5.812 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4365, allocations: 0.6094 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.437, allocations: 376.9 kB / 0.4903 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.437, allocations: 106.3 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.4371, allocations: 3.734 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.4372, allocations: 10.23 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.4373, allocations: 10.48 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.4373, allocations: 11.91 kB / 0.4904 GB, free: 13.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004232/0.4377, allocations: 359.8 kB / 0.4908 GB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4377, allocations: 0 / 0.4908 GB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000351/0.4381, allocations: 38.78 kB / 0.4908 GB, free: 13 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.001121/0.4392, allocations: 487.4 kB / 0.4913 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.4396, allocations: 118.2 kB / 0.4914 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4396, allocations: 5.531 kB / 0.4914 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.4397, allocations: 60.42 kB / 0.4915 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.4403, allocations: 67.27 kB / 0.4915 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.4412, allocations: 0.5299 MB / 0.492 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4415, allocations: 0.7684 MB / 0.4928 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.4416, allocations: 34.12 kB / 0.4928 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.4417, allocations: 23.91 kB / 0.4928 GB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4417, allocations: 1.375 kB / 0.4928 GB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.007805/0.4495, allocations: 2.811 MB / 0.4956 GB, free: 10.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)