Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008774/0.008774, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001423/0.001423, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.62/1.62, 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.4565/0.4565, allocations: 39.94 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.002988/0.002988, allocations: 67.91 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4336, allocations: 56.88 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00328/0.4369, allocations: 1.786 MB / 494.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.4384, allocations: 0.8795 MB / 495.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.4385, allocations: 5.062 kB / 495.4 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.4392, allocations: 290.7 kB / 495.7 MB, free: 17.66 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.0004364/0.4397, allocations: 212.4 kB / 495.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.4401, allocations: 139.5 kB / 496 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.4404, allocations: 240.6 kB / 496.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.769e-05/0.4405, allocations: 14.77 kB / 496.3 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.4407, allocations: 126.1 kB / 496.4 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.441, allocations: 188.8 kB / 496.6 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.441, allocations: 7.812 kB / 496.6 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4412, allocations: 44.5 kB / 496.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.4414, allocations: 135.8 kB / 496.7 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.4415, allocations: 146.3 kB / 496.9 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.4419, allocations: 358.3 kB / 497.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4419, allocations: 1.031 kB / 497.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4419, allocations: 0 / 497.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.442, allocations: 0 / 497.2 MB, free: 17.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009311/0.4429, allocations: 0.7239 MB / 498 MB, free: 16.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4429, allocations: 12.73 kB / 498 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.443, allocations: 45.66 kB / 498 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.4436, allocations: 441.2 kB / 498.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4436, allocations: 7.531 kB / 498.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4437, allocations: 7.391 kB / 498.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.4439, allocations: 83.09 kB / 498.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4439, allocations: 3.938 kB / 498.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4439, allocations: 1.094 kB / 498.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4439, allocations: 2.156 kB / 498.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.4441, allocations: 29.89 kB / 498.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.4445, allocations: 372.2 kB / 499 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.4448, allocations: 107 kB / 499.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.4449, allocations: 45.3 kB / 499.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.4449, allocations: 2.469 kB / 499.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.4451, allocations: 109.2 kB / 499.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4451, allocations: 0 / 499.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005386/0.4457, allocations: 198.5 kB / 499.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.4457, allocations: 82.92 kB / 499.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.4469, allocations: 1.01 MB / 0.4888 GB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.447, allocations: 26.8 kB / 0.4888 GB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4471, allocations: 227.4 kB / 0.489 GB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.4472, allocations: 32.69 kB / 0.489 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.4473, allocations: 28 kB / 0.4891 GB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4474, allocations: 369.6 kB / 0.4894 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.4475, allocations: 30.33 kB / 0.4894 GB, free: 14.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.4476, allocations: 57.39 kB / 0.4895 GB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4478, allocations: 87.61 kB / 0.4896 GB, free: 14.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4478, allocations: 5.812 kB / 0.4896 GB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002732/0.448, allocations: 170.2 kB / 0.4898 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4481, allocations: 6.125 kB / 0.4898 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4481, allocations: 2.531 kB / 0.4898 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4481, allocations: 5.188 kB / 0.4898 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4482, allocations: 20.86 kB / 0.4898 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4482, allocations: 1.75 kB / 0.4898 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.4483, allocations: 14.73 kB / 0.4898 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4484, allocations: 13.06 kB / 0.4898 GB, free: 14.21 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001982/0.4486, allocations: 220.4 kB / 0.49 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.4487, allocations: 48.95 kB / 0.4901 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.4487, allocations: 57.34 kB / 0.4901 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.4488, allocations: 2.406 kB / 0.4901 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4488, allocations: 1.562 kB / 0.4901 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4488, allocations: 3.984 kB / 0.4901 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.4491, allocations: 339.8 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4491, allocations: 0.75 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.4492, allocations: 11.62 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.4492, allocations: 2.031 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4492, allocations: 2.453 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4492, allocations: 1.375 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4492, allocations: 2.031 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.4495, allocations: 201.3 kB / 0.4907 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.4497, allocations: 136.3 kB / 0.4908 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.4497, allocations: 6.266 kB / 0.4908 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.4498, allocations: 6.656 kB / 0.4908 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.4499, allocations: 11.12 kB / 0.4908 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4499, allocations: 4.828 kB / 0.4908 GB, free: 13.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008299/0.4507, allocations: 0.7502 MB / 0.4916 GB, free: 13.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4507, allocations: 0 / 0.4916 GB, free: 13.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.451, allocations: 41.28 kB / 0.4916 GB, free: 13.24 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009417/0.452, allocations: 425.3 kB / 0.492 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.4522, allocations: 81.58 kB / 0.4921 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4523, allocations: 0 / 0.4921 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4524, allocations: 40.14 kB / 0.4921 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.4529, allocations: 87.27 kB / 0.4922 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4543, allocations: 0.84 MB / 0.493 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.4548, allocations: 0.8411 MB / 0.4938 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.455, allocations: 51.38 kB / 0.4939 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.4551, allocations: 28.12 kB / 0.4939 GB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4551, allocations: 4 kB / 0.4939 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Templates: time 0.009298/0.4644, allocations: 3.693 MB / 0.4975 GB, free: 10.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)