Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008599/0.008599, allocations: 105.4 kB / 15.74 MB, free: 6.004 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.00139/0.00139, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.647/1.647, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3494/0.3494, allocations: 39.94 MB / 309.8 MB, free: 9.383 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.001515/0.001515, allocations: 71.89 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3406, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003425/0.344, allocations: 1.699 MB / 494.4 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3453, allocations: 0.7966 MB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.3454, allocations: 0 / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.3458, allocations: 88.92 kB / 495.3 MB, free: 17.74 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.0002544/0.346, allocations: 73.55 kB / 495.4 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3463, allocations: 88.95 kB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3465, allocations: 108.7 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.3466, allocations: 12.67 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.3467, allocations: 54.94 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3468, allocations: 51.08 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3468, allocations: 7.625 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.3469, allocations: 42.83 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.347, allocations: 23.67 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.347, allocations: 37.83 kB / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.3473, allocations: 121.7 kB / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3473, allocations: 0 / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3473, allocations: 0.7969 kB / 495.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3473, allocations: 1.406 kB / 495.9 MB, free: 17.46 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.0005437/0.3478, allocations: 423.6 kB / 496.3 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3479, allocations: 12.92 kB / 496.3 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3479, allocations: 14.41 kB / 496.4 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.3482, allocations: 207.8 kB / 496.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3482, allocations: 6.75 kB / 496.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3483, allocations: 14.95 kB / 496.6 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3484, allocations: 50.59 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3484, allocations: 0 / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3485, allocations: 8 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3485, allocations: 2.578 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.3485, allocations: 16.59 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.3489, allocations: 292.2 kB / 496.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3491, allocations: 61.62 kB / 497 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.3491, allocations: 24.03 kB / 497 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3492, allocations: 0.9688 kB / 497 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.3493, allocations: 65.06 kB / 497.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3493, allocations: 1.062 kB / 497.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.3499, allocations: 176.2 kB / 497.3 MB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.3499, allocations: 53.53 kB / 497.3 MB, free: 16.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3501, allocations: 218.7 kB / 497.5 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3502, allocations: 26.86 kB / 497.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.3502, allocations: 104.8 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3502, allocations: 25.44 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.3503, allocations: 22.12 kB / 497.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.3504, allocations: 331.2 kB / 498 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.3504, allocations: 22 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.3505, allocations: 43.11 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3506, allocations: 57.97 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3506, allocations: 192 / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001793/0.3508, allocations: 105.7 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3509, allocations: 9.031 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3509, allocations: 1.094 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3509, allocations: 1.609 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.351, allocations: 14.95 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.351, allocations: 5.094 kB / 498.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.3511, allocations: 7.125 kB / 498.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3511, allocations: 2.891 kB / 498.3 MB, free: 15.43 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 8.977e-05/0.3512, allocations: 131.9 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3512, allocations: 11.16 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3513, allocations: 15.73 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3513, allocations: 1.312 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3513, allocations: 0.7031 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3513, allocations: 7.938 kB / 498.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3517, allocations: 400.6 kB / 498.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3517, allocations: 1.406 kB / 498.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.3518, allocations: 9.156 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3518, allocations: 5.531 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3518, allocations: 5.891 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3518, allocations: 1.438 kB / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3518, allocations: 0 / 498.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.352, allocations: 206.4 kB / 499.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.3521, allocations: 87.52 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3521, allocations: 10.41 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.3522, allocations: 3.688 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3522, allocations: 5.359 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3523, allocations: 5.141 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3524, allocations: 159.5 kB / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3524, allocations: 0 / 499.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3527, allocations: 22.48 kB / 499.4 MB, free: 14.54 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.001034/0.3537, allocations: 481.8 kB / 499.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3539, allocations: 64.56 kB / 499.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3539, allocations: 0 / 499.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.354, allocations: 32.84 kB / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3544, allocations: 30.08 kB / 499.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3549, allocations: 235.5 kB / 0.4885 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3551, allocations: 0.7134 MB / 0.4892 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.3551, allocations: 12.41 kB / 0.4892 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.3552, allocations: 16.52 kB / 0.4892 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3552, allocations: 1.031 kB / 0.4892 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.005255/0.3604, allocations: 1.708 MB / 0.4908 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)