Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005445/0.005445, allocations: 100.5 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.001371/0.001371, allocations: 196.7 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.357/0.357, allocations: 39.95 MB / 309.8 MB, free: 9.219 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.001603/0.001603, allocations: 71.91 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4053, allocations: 56.87 MB / 492.7 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003642/0.409, allocations: 1.655 MB / 494.4 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.4106, allocations: 0.7848 MB / 495.2 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.4107, allocations: 9.312 kB / 495.2 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.4111, allocations: 60.66 kB / 495.2 MB, free: 17.94 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.0002636/0.4113, allocations: 64.41 kB / 495.3 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.4116, allocations: 82.94 kB / 495.4 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.4118, allocations: 98.53 kB / 495.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.4118, allocations: 9.016 kB / 495.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.4119, allocations: 47.02 kB / 495.5 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.4121, allocations: 47.62 kB / 495.6 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4121, allocations: 3.562 kB / 495.6 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.4122, allocations: 29.56 kB / 495.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.4122, allocations: 22.61 kB / 495.6 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.4123, allocations: 24.12 kB / 495.6 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.4125, allocations: 104.5 kB / 495.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4126, allocations: 3.938 kB / 495.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4126, allocations: 0 / 495.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4126, allocations: 1.125 kB / 495.8 MB, free: 17.7 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.0005732/0.4132, allocations: 401.7 kB / 496.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4132, allocations: 13.95 kB / 496.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.4133, allocations: 13.16 kB / 496.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4136, allocations: 202.2 kB / 496.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4137, allocations: 1.844 kB / 496.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4137, allocations: 6.406 kB / 496.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.4139, allocations: 45.09 kB / 496.4 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4139, allocations: 1.281 kB / 496.4 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.4139, allocations: 4.703 kB / 496.4 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.414, allocations: 13.3 kB / 496.4 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.414, allocations: 14.83 kB / 496.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.4143, allocations: 182.2 kB / 496.6 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.4145, allocations: 53.62 kB / 496.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.4146, allocations: 22.03 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4146, allocations: 5.922 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.4148, allocations: 69.2 kB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.4148, allocations: 0 / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003405/0.4152, allocations: 92.39 kB / 496.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4152, allocations: 52.72 kB / 496.9 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.4155, allocations: 184.3 kB / 497.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4155, allocations: 25.7 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.4156, allocations: 104.5 kB / 497.2 MB, free: 16.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.4156, allocations: 22.95 kB / 497.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4157, allocations: 19.8 kB / 497.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.4157, allocations: 322.8 kB / 497.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.4158, allocations: 13.8 kB / 497.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.4159, allocations: 34.05 kB / 497.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.416, allocations: 46.02 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.416, allocations: 0 / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001732/0.4162, allocations: 83.89 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4162, allocations: 5.953 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4162, allocations: 1.906 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4163, allocations: 0 / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4164, allocations: 11.05 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4164, allocations: 1.312 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.4164, allocations: 6.172 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4165, allocations: 6.375 kB / 497.8 MB, free: 15.86 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 0.0001132/0.4166, allocations: 125.8 kB / 497.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.4166, allocations: 7.938 kB / 497.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.4167, allocations: 15.05 kB / 497.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4167, allocations: 3.938 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4167, allocations: 2.531 kB / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4167, allocations: 0 / 497.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.4168, allocations: 184.9 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4169, allocations: 1.391 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.4169, allocations: 7.812 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4169, allocations: 0 / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4169, allocations: 11.05 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4169, allocations: 0 / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4169, allocations: 0 / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.4171, allocations: 108.4 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.4172, allocations: 88.8 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4172, allocations: 6.281 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.4172, allocations: 6.391 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.4173, allocations: 7.469 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4173, allocations: 3.312 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.4175, allocations: 146.8 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4175, allocations: 1.062 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.4177, allocations: 17.27 kB / 498.5 MB, free: 15.2 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.001023/0.4187, allocations: 419.7 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.4189, allocations: 40.33 kB / 499 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4189, allocations: 0 / 499 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.419, allocations: 30.61 kB / 499 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.4193, allocations: 36.75 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.4199, allocations: 192.9 kB / 499.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.4201, allocations: 0.7048 MB / 499.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.4201, allocations: 10.8 kB / 499.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.4202, allocations: 14.47 kB / 500 MB, free: 13.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4202, allocations: 1.625 kB / 500 MB, free: 13.97 MB / 382.1 MB Notification: Performance of Templates: time 0.005287/0.4255, allocations: 1.49 MB / 0.4897 GB, free: 13.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)