Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00713/0.00713, allocations: 102 kB / 15.73 MB, free: 6.488 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.001385/0.001385, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3514/0.3514, allocations: 37.99 MB / 307.9 MB, free: 10.16 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.1. 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.001568/0.001568, allocations: 68.28 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4171, allocations: 56.47 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003312/0.4205, allocations: 1.661 MB / 491.2 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.422, allocations: 0.8132 MB / 492 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.4221, allocations: 5.062 kB / 492 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.4225, allocations: 37.08 kB / 492 MB, free: 18.11 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.0002679/0.4228, allocations: 55.12 kB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.4231, allocations: 88.66 kB / 492.2 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.4233, allocations: 91.27 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4234, allocations: 16.05 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.4235, allocations: 45.42 kB / 492.3 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4236, allocations: 26.78 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.4236, allocations: 3.781 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.4238, allocations: 46.31 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.4239, allocations: 23.84 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.424, allocations: 32.59 kB / 492.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.4242, allocations: 117.3 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4242, allocations: 4 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4242, allocations: 1.094 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.4243, allocations: 0 / 492.6 MB, free: 17.84 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.0005952/0.4249, allocations: 409.7 kB / 493 MB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4249, allocations: 14.28 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.425, allocations: 14.19 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.4253, allocations: 219.4 kB / 493.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4253, allocations: 6.656 kB / 493.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.4254, allocations: 6.938 kB / 493.2 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4255, allocations: 57.12 kB / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4256, allocations: 1.25 kB / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4256, allocations: 0 / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4256, allocations: 2 kB / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.4257, allocations: 18.98 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.426, allocations: 286 kB / 493.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.4262, allocations: 62.72 kB / 493.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.4263, allocations: 18.72 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.4263, allocations: 1.094 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.4265, allocations: 73.34 kB / 493.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4265, allocations: 4 kB / 493.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006029/0.4271, allocations: 172.8 kB / 493.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4272, allocations: 53.45 kB / 494 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.4274, allocations: 194.1 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4274, allocations: 31.47 kB / 494.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.4275, allocations: 100.4 kB / 494.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.4275, allocations: 28.27 kB / 494.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.4276, allocations: 27.36 kB / 494.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4277, allocations: 334.5 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.4278, allocations: 17.47 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.4278, allocations: 34.69 kB / 494.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.428, allocations: 57.92 kB / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.428, allocations: 0 / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002426/0.4282, allocations: 107.1 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.4283, allocations: 4.531 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4283, allocations: 1.062 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.4283, allocations: 1.188 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.4285, allocations: 15.33 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4285, allocations: 5.734 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.4285, allocations: 5.781 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4286, allocations: 3.562 kB / 494.9 MB, free: 15.83 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 0.0001129/0.4287, allocations: 130.5 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.4287, allocations: 18.22 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.4288, allocations: 19.75 kB / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4288, allocations: 1.797 kB / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4288, allocations: 384 / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.4288, allocations: 4.688 kB / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.4293, allocations: 391.3 kB / 495.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4293, allocations: 5.156 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.4294, allocations: 8.578 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4294, allocations: 5.094 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4294, allocations: 6.953 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4294, allocations: 240 / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4294, allocations: 1.922 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4297, allocations: 208.8 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.4298, allocations: 84.89 kB / 495.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.4298, allocations: 6.656 kB / 495.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.4299, allocations: 15.66 kB / 495.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.43, allocations: 5.188 kB / 495.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.43, allocations: 3.5 kB / 495.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4301, allocations: 155.7 kB / 496 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4302, allocations: 0 / 496 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.4305, allocations: 22.84 kB / 496 MB, free: 14.93 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.001235/0.4317, allocations: 472.8 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.432, allocations: 63.58 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.432, allocations: 0 / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.4321, allocations: 28.94 kB / 496.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.4325, allocations: 38.97 kB / 496.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.4331, allocations: 228.8 kB / 496.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4334, allocations: 0.7064 MB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.4335, allocations: 17.61 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.4335, allocations: 21.09 kB / 497.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4335, allocations: 0 / 497.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of Templates: time 0.006337/0.4399, allocations: 1.706 MB / 499.2 MB, free: 13.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)