Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008801/0.008808, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001802/0.001802, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.666/1.666, 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.1+maint.om/package.mo): time 0.4298/0.4298, allocations: 37.99 MB / 307.9 MB, free: 10.2 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.1. 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.001463/0.001463, allocations: 71.91 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4383, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003332/0.4417, allocations: 1.627 MB / 491.1 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.4431, allocations: 0.7949 MB / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.4432, allocations: 0 / 491.9 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.4436, allocations: 69.08 kB / 492 MB, free: 18.19 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.0002704/0.4439, allocations: 61.5 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.4442, allocations: 74.02 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.4444, allocations: 98.55 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.4445, allocations: 13.5 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4446, allocations: 46.66 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.4448, allocations: 40.19 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.4448, allocations: 2.875 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4449, allocations: 35.69 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.445, allocations: 21.23 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.4451, allocations: 32.03 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.4453, allocations: 95.41 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4453, allocations: 3.938 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.4453, allocations: 6.062 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4454, allocations: 0 / 492.5 MB, free: 17.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006595/0.446, allocations: 397.4 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.4461, allocations: 14.08 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.4462, allocations: 10.47 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4465, allocations: 204.2 kB / 493.1 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4465, allocations: 2.406 kB / 493.1 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.4465, allocations: 9.953 kB / 493.1 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.4467, allocations: 49.92 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4467, allocations: 5.188 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4467, allocations: 0 / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4468, allocations: 1.875 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.4468, allocations: 14.72 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.4471, allocations: 178.4 kB / 493.4 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4472, allocations: 52.67 kB / 493.4 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.4473, allocations: 27.25 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4473, allocations: 2.109 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.4475, allocations: 71.62 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4475, allocations: 0 / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002776/0.4478, allocations: 96.47 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.4478, allocations: 52.44 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.448, allocations: 192.3 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.448, allocations: 26.77 kB / 493.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.4481, allocations: 103.5 kB / 494 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4481, allocations: 15.48 kB / 494 MB, free: 16.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.4481, allocations: 16.8 kB / 494 MB, free: 16.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.4482, allocations: 324.6 kB / 494.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.4483, allocations: 14.2 kB / 494.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.4483, allocations: 31.14 kB / 494.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.4484, allocations: 45.56 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4484, allocations: 0 / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.4486, allocations: 85.02 kB / 494.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4486, allocations: 4.656 kB / 494.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4486, allocations: 0.7812 kB / 494.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4487, allocations: 2.047 kB / 494.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.4488, allocations: 18.66 kB / 494.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4488, allocations: 1.156 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.4488, allocations: 3.469 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4488, allocations: 6.312 kB / 494.6 MB, free: 16.11 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 (7): * Single equations (assignments): 7 * 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 7.928e-05/0.4489, allocations: 131.9 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.449, allocations: 9.312 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.449, allocations: 14.52 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.449, allocations: 0 / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.449, allocations: 1.312 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.449, allocations: 4.562 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4491, allocations: 184.8 kB / 494.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4492, allocations: 1.312 kB / 494.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.4492, allocations: 8.266 kB / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4492, allocations: 0 / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4492, allocations: 2.141 kB / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4492, allocations: 4.562 kB / 494.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4492, allocations: 5.312 kB / 494.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.4494, allocations: 111.9 kB / 495 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.4494, allocations: 84.17 kB / 495.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.4495, allocations: 5.906 kB / 495.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.168e-05/0.4495, allocations: 2.938 kB / 495.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.4495, allocations: 4.391 kB / 495.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4496, allocations: 6.797 kB / 495.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.4497, allocations: 143 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4497, allocations: 0 / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.4499, allocations: 21.56 kB / 495.3 MB, free: 15.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009053/0.4508, allocations: 416.4 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.451, allocations: 44 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.451, allocations: 1.062 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.4511, allocations: 17.86 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4514, allocations: 34.06 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.4518, allocations: 198.5 kB / 496 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.452, allocations: 0.7013 MB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.452, allocations: 14.52 kB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.4521, allocations: 15.16 kB / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4521, allocations: 0 / 496.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of Templates: time 0.005108/0.4572, allocations: 1.489 MB / 498.2 MB, free: 14.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)