Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01015/0.01015, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001411/0.001412, allocations: 196 kB / 16.67 MB, free: 6.355 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.766/1.766, 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.3507/0.3507, allocations: 39.94 MB / 309.8 MB, free: 9.301 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.001385/0.001385, allocations: 71.91 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2996, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00264/0.3023, allocations: 1.65 MB / 494.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3035, allocations: 0.7886 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.3036, allocations: 1.25 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.3039, allocations: 49.64 kB / 495.2 MB, free: 17.71 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.0002159/0.3042, allocations: 58.91 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3044, allocations: 82.41 kB / 495.3 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3046, allocations: 88.47 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.3046, allocations: 9.703 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.3047, allocations: 44.38 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.3048, allocations: 28.75 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3048, allocations: 2.562 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.3049, allocations: 38.89 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.305, allocations: 30.23 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.305, allocations: 38.11 kB / 495.6 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.3053, allocations: 112.5 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3053, allocations: 1.094 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.3053, allocations: 0.5625 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3054, allocations: 0 / 495.7 MB, free: 17.45 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.0008122/0.3062, allocations: 436.1 kB / 496.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.3062, allocations: 12.92 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.3063, allocations: 11 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.3067, allocations: 221.7 kB / 496.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3067, allocations: 1.078 kB / 496.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3068, allocations: 10 kB / 496.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.307, allocations: 51.5 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.307, allocations: 0 / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.307, allocations: 0.75 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.307, allocations: 1.312 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3071, allocations: 18.23 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.3074, allocations: 194.2 kB / 496.7 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.3076, allocations: 53.22 kB / 496.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.3076, allocations: 23.34 kB / 496.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.3077, allocations: 1.312 kB / 496.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3079, allocations: 68.25 kB / 496.8 MB, free: 16.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.3079, allocations: 7.938 kB / 496.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003493/0.3082, allocations: 98.44 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3083, allocations: 52.16 kB / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.3086, allocations: 258 kB / 497.2 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3086, allocations: 27.05 kB / 497.2 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.3087, allocations: 110.4 kB / 497.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.3088, allocations: 19.92 kB / 497.4 MB, free: 16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3088, allocations: 15.31 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.3089, allocations: 332.9 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.309, allocations: 13.53 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.526e-05/0.309, allocations: 27.09 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3092, allocations: 45.31 kB / 497.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3092, allocations: 1.125 kB / 497.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001658/0.3093, allocations: 96.89 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3094, allocations: 6.766 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3094, allocations: 0 / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3094, allocations: 1.438 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.3095, allocations: 11.23 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3095, allocations: 0 / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.3096, allocations: 7.812 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3096, allocations: 2.281 kB / 497.9 MB, free: 15.54 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.0001159/0.3097, allocations: 136.8 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3098, allocations: 18.41 kB / 498.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.3098, allocations: 18.36 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3098, allocations: 0.6562 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3098, allocations: 1.25 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3099, allocations: 0.6094 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.31, allocations: 197.2 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3101, allocations: 0 / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.3101, allocations: 8.375 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3101, allocations: 0 / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3101, allocations: 2.484 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3101, allocations: 320 / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3101, allocations: 5.984 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3103, allocations: 117.4 kB / 498.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3104, allocations: 84.64 kB / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3104, allocations: 1.672 kB / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.3105, allocations: 3 kB / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3105, allocations: 7.797 kB / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3105, allocations: 3.188 kB / 498.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3108, allocations: 197 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.3108, allocations: 0 / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.311, allocations: 25.81 kB / 498.7 MB, free: 14.86 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.0009144/0.3119, allocations: 429.1 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.3121, allocations: 40.19 kB / 499.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3121, allocations: 0 / 499.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.3122, allocations: 22.47 kB / 499.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3125, allocations: 45.94 kB / 499.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.313, allocations: 258.4 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.3132, allocations: 0.7123 MB / 0.4885 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.3132, allocations: 10.97 kB / 0.4885 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3133, allocations: 14.03 kB / 0.4885 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3133, allocations: 4 kB / 0.4885 GB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.005276/0.3185, allocations: 1.489 MB / 0.49 GB, free: 13.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)