Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009875/0.009875, allocations: 106.1 kB / 15.73 MB, free: 6 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.001619/0.001619, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.672/1.672, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3385/0.3385, allocations: 39.94 MB / 309.8 MB, free: 9.453 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.001504/0.001504, allocations: 63.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3183, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002765/0.3211, allocations: 1.688 MB / 494.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3229, allocations: 1.405 MB / 495.8 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.323, allocations: 5.219 kB / 495.8 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.3233, allocations: 37.19 kB / 495.9 MB, free: 17.25 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.0002151/0.3235, allocations: 61.16 kB / 495.9 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3238, allocations: 81.27 kB / 496 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.324, allocations: 100.7 kB / 496.1 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3241, allocations: 10.95 kB / 496.1 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.3242, allocations: 42.86 kB / 496.1 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3244, allocations: 46 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3244, allocations: 9.594 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3245, allocations: 57.77 kB / 496.3 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.3246, allocations: 23.48 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.3247, allocations: 30.45 kB / 496.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.3249, allocations: 124.3 kB / 496.4 MB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3249, allocations: 0 / 496.4 MB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3249, allocations: 0.5625 kB / 496.4 MB, free: 16.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.3249, allocations: 1.312 kB / 496.4 MB, free: 16.97 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.0004504/0.3254, allocations: 402.9 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3255, allocations: 16.89 kB / 496.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.3255, allocations: 9.281 kB / 496.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3257, allocations: 208.5 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.3258, allocations: 2.688 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.3258, allocations: 10.91 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3259, allocations: 66.09 kB / 497.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.326, allocations: 0.9688 kB / 497.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.326, allocations: 4.594 kB / 497.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.326, allocations: 5.031 kB / 497.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.3261, allocations: 23 kB / 497.2 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.3264, allocations: 291.5 kB / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3266, allocations: 56.31 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.3266, allocations: 23.3 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3267, allocations: 1.844 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.3268, allocations: 75.31 kB / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3268, allocations: 0 / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004944/0.3273, allocations: 158.5 kB / 497.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3273, allocations: 82.05 kB / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3274, allocations: 156.5 kB / 498 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3275, allocations: 31.14 kB / 498 MB, free: 15.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.3275, allocations: 92.67 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3275, allocations: 26 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.3276, allocations: 24.2 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.3276, allocations: 327.1 kB / 498.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.3277, allocations: 18.47 kB / 498.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.3277, allocations: 44.78 kB / 498.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.3279, allocations: 66.17 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3279, allocations: 0 / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.328, allocations: 96.48 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3281, allocations: 7.016 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3281, allocations: 0 / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3281, allocations: 1.281 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3282, allocations: 19.7 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3283, allocations: 5.688 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.3283, allocations: 10.52 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3284, allocations: 2.656 kB / 498.7 MB, free: 14.92 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.69e-05/0.3284, allocations: 122.5 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.3285, allocations: 12.25 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.3285, allocations: 13.28 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3285, allocations: 1.125 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3285, allocations: 0 / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3286, allocations: 6.125 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3289, allocations: 396.1 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3289, allocations: 0 / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.329, allocations: 9.156 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.329, allocations: 1.531 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.329, allocations: 9.953 kB / 499.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.329, allocations: 1.953 kB / 499.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.329, allocations: 3.938 kB / 499.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3292, allocations: 201.8 kB / 499.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3292, allocations: 83.27 kB / 499.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3293, allocations: 10.2 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3293, allocations: 4.359 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3294, allocations: 5.328 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3294, allocations: 3.766 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.753e-05/0.3295, allocations: 119.7 kB / 499.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3295, allocations: 4 kB / 499.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3298, allocations: 30.7 kB / 499.8 MB, free: 14.05 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.001014/0.3308, allocations: 0.5078 MB / 0.4885 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.331, allocations: 56.67 kB / 0.4886 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.331, allocations: 0 / 0.4886 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.3311, allocations: 28.47 kB / 0.4886 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3314, allocations: 35.86 kB / 0.4887 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.3318, allocations: 191.3 kB / 0.4888 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.332, allocations: 0.6985 MB / 0.4895 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.332, allocations: 13.86 kB / 0.4895 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.3321, allocations: 23.41 kB / 0.4896 GB, free: 12.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3321, allocations: 4 kB / 0.4896 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005812/0.3379, allocations: 1.982 MB / 0.4915 GB, free: 12.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)