Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007791/0.007791, allocations: 101 kB / 15.73 MB, free: 6.473 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.001856/0.001856, allocations: 194.8 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.479/1.479, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.3443/0.3443, allocations: 39.93 MB / 309.8 MB, free: 9.336 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.001392/0.001392, allocations: 71.91 kB / 435.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3732, allocations: 56.86 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002898/0.3761, allocations: 1.703 MB / 494.4 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3773, allocations: 0.8041 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.3773, allocations: 1.156 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.3776, allocations: 39.09 kB / 495.3 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.0002042/0.3779, allocations: 58.05 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3781, allocations: 80.25 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3782, allocations: 99.34 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.3783, allocations: 21.05 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.3784, allocations: 40.5 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.3785, allocations: 29.36 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3785, allocations: 3.25 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.3786, allocations: 42.41 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3787, allocations: 20.41 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.3787, allocations: 32.05 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3789, allocations: 125.8 kB / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3789, allocations: 4 kB / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3789, allocations: 0 / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.379, allocations: 0.7969 kB / 495.8 MB, free: 17.44 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.0004747/0.3794, allocations: 413.9 kB / 496.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3795, allocations: 14.12 kB / 496.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3795, allocations: 14.16 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3798, allocations: 215.2 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3798, allocations: 2.906 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3798, allocations: 11.16 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.38, allocations: 52.48 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.38, allocations: 1.156 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.38, allocations: 0.6562 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.38, allocations: 1.531 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.3801, allocations: 22.69 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.3804, allocations: 286.8 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3806, allocations: 60.33 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.3806, allocations: 20.41 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3807, allocations: 5.75 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.3808, allocations: 61.02 kB / 497 MB, free: 16.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3808, allocations: 3.938 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004977/0.3813, allocations: 176.6 kB / 497.1 MB, free: 16.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.3813, allocations: 53.64 kB / 497.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3815, allocations: 198.8 kB / 497.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3815, allocations: 30.22 kB / 497.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3816, allocations: 105.7 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3816, allocations: 21.44 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3817, allocations: 26.7 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.3817, allocations: 325.7 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.3818, allocations: 25.28 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.3819, allocations: 39.77 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.382, allocations: 53.39 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.382, allocations: 3.938 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.3822, allocations: 110.7 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3822, allocations: 4.484 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3822, allocations: 5.484 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3822, allocations: 2.188 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3823, allocations: 18.84 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3823, allocations: 9.828 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3824, allocations: 6.781 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.3824, allocations: 3.719 kB / 498.2 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.883e-05/0.3825, allocations: 126 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3825, allocations: 8.812 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3826, allocations: 20.31 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3826, allocations: 1.156 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3826, allocations: 0 / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.3826, allocations: 5.844 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.383, allocations: 390.8 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.383, allocations: 0.6094 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.3831, allocations: 8.734 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3831, allocations: 1.344 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3831, allocations: 5.781 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3831, allocations: 5.812 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3831, allocations: 1.125 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3833, allocations: 205.2 kB / 498.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.3834, allocations: 88.53 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3834, allocations: 6 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3835, allocations: 8.125 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3835, allocations: 8.797 kB / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3836, allocations: 4.938 kB / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3837, allocations: 150.3 kB / 499.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3837, allocations: 0 / 499.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.384, allocations: 22.25 kB / 499.2 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.001039/0.3851, allocations: 483.5 kB / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3853, allocations: 59.86 kB / 499.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3853, allocations: 0 / 499.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.3854, allocations: 28.58 kB / 499.8 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.0003507/0.3857, allocations: 31.91 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.00044/0.3862, allocations: 228.7 kB / 0.4883 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3864, allocations: 0.7072 MB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.3864, allocations: 16.7 kB / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.3865, allocations: 16.77 kB / 0.489 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3865, allocations: 4 kB / 0.489 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00529/0.3918, allocations: 1.703 MB / 0.4907 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)