Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01076/0.01076, allocations: 108.8 kB / 15.74 MB, free: 6.016 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.001718/0.001718, allocations: 190.1 kB / 16.67 MB, free: 5.941 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.605/1.605, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3404/0.3404, allocations: 39.94 MB / 309.8 MB, free: 9.375 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.002912/0.002912, allocations: 71.91 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4036, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002856/0.4065, allocations: 1.695 MB / 494.4 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4078, allocations: 0.8042 MB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.4078, allocations: 1.062 kB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.4081, allocations: 42.09 kB / 495.3 MB, free: 17.68 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.0002092/0.4084, allocations: 54.53 kB / 495.3 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.4086, allocations: 76.67 kB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.4088, allocations: 103.2 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4089, allocations: 19.89 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.409, allocations: 41.34 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.4091, allocations: 30.56 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4091, allocations: 3.438 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.375e-05/0.4092, allocations: 38.31 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.4092, allocations: 22.36 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.4093, allocations: 37.28 kB / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4095, allocations: 111.2 kB / 495.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4095, allocations: 7.938 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4095, allocations: 1.375 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4095, allocations: 0 / 495.8 MB, free: 17.42 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.0004881/0.41, allocations: 416.7 kB / 496.2 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4101, allocations: 13.67 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.4101, allocations: 9.031 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.4104, allocations: 198.9 kB / 496.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4104, allocations: 2.297 kB / 496.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4104, allocations: 14.69 kB / 496.4 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4106, allocations: 50.61 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4106, allocations: 3.938 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4106, allocations: 5.719 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4106, allocations: 4.594 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.4107, allocations: 17.95 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.411, allocations: 286.2 kB / 496.8 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.4112, allocations: 60.22 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.4112, allocations: 24.78 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4113, allocations: 1.406 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.4114, allocations: 64.98 kB / 496.9 MB, free: 16.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4114, allocations: 0 / 496.9 MB, free: 16.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.412, allocations: 180.9 kB / 497.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.412, allocations: 53.34 kB / 497.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4122, allocations: 187.9 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4122, allocations: 27.11 kB / 497.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.4122, allocations: 99.56 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.4123, allocations: 25.38 kB / 497.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.4123, allocations: 25.92 kB / 497.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.4124, allocations: 331.3 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.4124, allocations: 17.08 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.4125, allocations: 39.22 kB / 497.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.4126, allocations: 58.02 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4126, allocations: 0 / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.4128, allocations: 106.3 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4128, allocations: 9.219 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4129, allocations: 0 / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4129, allocations: 1.953 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.413, allocations: 19.14 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.413, allocations: 2.562 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.413, allocations: 9.656 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.413, allocations: 2.688 kB / 498.1 MB, free: 15.41 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 7.596e-05/0.4131, allocations: 126.1 kB / 498.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.4132, allocations: 17.78 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.4132, allocations: 18.58 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4132, allocations: 1.375 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4132, allocations: 0 / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.4132, allocations: 4.734 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.4137, allocations: 390.7 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4137, allocations: 7.922 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.4137, allocations: 8.609 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4137, allocations: 1.859 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4138, allocations: 10.03 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4138, allocations: 1.031 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4138, allocations: 1.312 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.414, allocations: 200.6 kB / 498.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.414, allocations: 85.62 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4141, allocations: 5.859 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.4141, allocations: 6.641 kB / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.4142, allocations: 14.19 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4142, allocations: 4.344 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4143, allocations: 143.8 kB / 499.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4143, allocations: 0 / 499.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.4146, allocations: 21.33 kB / 499.2 MB, free: 14.53 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.00101/0.4156, allocations: 469.5 kB / 499.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.4158, allocations: 59.94 kB / 499.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4158, allocations: 5.219 kB / 499.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.4159, allocations: 27.77 kB / 499.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4162, allocations: 38.66 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.4167, allocations: 227.3 kB / 500 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.4169, allocations: 0.7041 MB / 0.4889 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.4169, allocations: 17.3 kB / 0.489 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.417, allocations: 16.03 kB / 0.489 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.417, allocations: 5.062 kB / 0.489 GB, free: 13.22 MB / 382.1 MB Notification: Performance of Templates: time 0.005208/0.4222, allocations: 1.719 MB / 0.4907 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)