Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008266/0.008265, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001267/0.001268, allocations: 197 kB / 16.67 MB, free: 5.969 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.516 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.3478/0.3478, allocations: 39.93 MB / 309.8 MB, free: 9.348 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.00251/0.00251, allocations: 71.89 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3936, allocations: 56.87 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003327/0.3969, allocations: 1.696 MB / 494.4 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3984, allocations: 0.811 MB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.3985, allocations: 1.219 kB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.3988, allocations: 50.38 kB / 495.3 MB, free: 17.8 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.000231/0.3991, allocations: 58.62 kB / 495.3 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3993, allocations: 84.8 kB / 495.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3995, allocations: 94.44 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.3996, allocations: 17.17 kB / 495.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.3997, allocations: 44.97 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.3998, allocations: 29.48 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3999, allocations: 3.781 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.4, allocations: 39.64 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.4, allocations: 31.38 kB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.4001, allocations: 46.45 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.4003, allocations: 133.8 kB / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.4004, allocations: 0 / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4004, allocations: 3.938 kB / 495.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4004, allocations: 3.938 kB / 495.8 MB, free: 17.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005284/0.4009, allocations: 434.1 kB / 496.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.401, allocations: 13.36 kB / 496.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.401, allocations: 11.77 kB / 496.3 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.4013, allocations: 229.9 kB / 496.5 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4013, allocations: 6.578 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4014, allocations: 6.562 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4015, allocations: 53.59 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4016, allocations: 5.469 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4016, allocations: 4.734 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4016, allocations: 0 / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.4017, allocations: 18.02 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.402, allocations: 297.7 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.4022, allocations: 56.19 kB / 497 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.4023, allocations: 24.91 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.4023, allocations: 0.75 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.4025, allocations: 73.19 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.4025, allocations: 1.344 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005292/0.403, allocations: 174.4 kB / 497.2 MB, free: 16.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4031, allocations: 53.34 kB / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.4033, allocations: 258.2 kB / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.4033, allocations: 34.83 kB / 497.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.4034, allocations: 119.9 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.4034, allocations: 21.97 kB / 497.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.4034, allocations: 25.41 kB / 497.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.4035, allocations: 333 kB / 498.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.4036, allocations: 16.7 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.4036, allocations: 35.56 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.4037, allocations: 61.95 kB / 498.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4038, allocations: 0 / 498.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.4039, allocations: 107.5 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.404, allocations: 6.281 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.404, allocations: 0 / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.404, allocations: 5.406 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.4041, allocations: 19.89 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4041, allocations: 1.094 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.4041, allocations: 6.266 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4042, allocations: 3.875 kB / 498.3 MB, free: 15.44 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 (10): * Single equations (assignments): 10 * 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.0001029/0.4043, allocations: 137.9 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4043, allocations: 14.03 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.4043, allocations: 18.97 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4043, allocations: 5.094 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4044, allocations: 0 / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4044, allocations: 4.641 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.4048, allocations: 401.6 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4048, allocations: 6.406 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.4048, allocations: 7.906 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4048, allocations: 5.531 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4049, allocations: 6.25 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4049, allocations: 1.562 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4049, allocations: 1.219 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.4051, allocations: 202.5 kB / 499.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.4052, allocations: 90.16 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.4052, allocations: 13.38 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.4053, allocations: 10.41 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.4053, allocations: 10.28 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4053, allocations: 4.109 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4055, allocations: 197.2 kB / 499.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4055, allocations: 0 / 499.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.4058, allocations: 27.09 kB / 499.5 MB, free: 14.52 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001054/0.4068, allocations: 477.3 kB / 499.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4071, allocations: 62.98 kB / 500 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4071, allocations: 0 / 500 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.4072, allocations: 25.72 kB / 0.4883 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4075, allocations: 38.36 kB / 0.4883 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.4081, allocations: 284.5 kB / 0.4886 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.4083, allocations: 0.7171 MB / 0.4893 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.4084, allocations: 20.8 kB / 0.4893 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.4084, allocations: 21.38 kB / 0.4893 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4084, allocations: 0 / 0.4893 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005153/0.4136, allocations: 1.75 MB / 0.491 GB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)