Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007273/0.007273, allocations: 97.83 kB / 15.73 MB, free: 6.008 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.001185/0.001185, allocations: 193 kB / 16.67 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3986/0.3986, allocations: 38 MB / 307.9 MB, free: 10.19 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.001646/0.001646, allocations: 71.91 kB / 433 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4104, allocations: 56.47 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003447/0.4139, allocations: 1.674 MB / 491.2 MB, free: 18.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.4164, allocations: 1.416 MB / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.4166, allocations: 5.156 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.417, allocations: 32.06 kB / 492.6 MB, free: 17.88 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.0003428/0.4174, allocations: 58.83 kB / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.4178, allocations: 85.53 kB / 492.8 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.418, allocations: 103.7 kB / 492.9 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.4181, allocations: 16.75 kB / 492.9 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.4182, allocations: 45.8 kB / 492.9 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.4184, allocations: 45.39 kB / 493 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.4184, allocations: 5.5 kB / 493 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.4186, allocations: 59.2 kB / 493.1 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.4186, allocations: 22.14 kB / 493.1 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.4187, allocations: 34.44 kB / 493.1 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.419, allocations: 131.2 kB / 493.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.419, allocations: 0 / 493.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.419, allocations: 4 kB / 493.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.419, allocations: 0 / 493.2 MB, free: 17.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005716/0.4196, allocations: 415.4 kB / 493.6 MB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4196, allocations: 12.45 kB / 493.7 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.4197, allocations: 10.34 kB / 493.7 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.4201, allocations: 210.2 kB / 493.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4201, allocations: 5.125 kB / 493.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4202, allocations: 7.703 kB / 493.9 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.4204, allocations: 79.09 kB / 494 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4204, allocations: 4.656 kB / 494 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4204, allocations: 1 kB / 494 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4204, allocations: 0 / 494 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.4205, allocations: 34.05 kB / 494 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.421, allocations: 291.2 kB / 494.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.4212, allocations: 72.97 kB / 494.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.4213, allocations: 26.64 kB / 494.4 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.4213, allocations: 2.344 kB / 494.4 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.4215, allocations: 76.27 kB / 494.5 MB, free: 16.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4215, allocations: 0 / 494.5 MB, free: 16.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006684/0.4222, allocations: 197.2 kB / 494.7 MB, free: 16.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.4222, allocations: 82.05 kB / 494.7 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.4224, allocations: 165 kB / 494.9 MB, free: 16.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.4224, allocations: 27.33 kB / 494.9 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.4225, allocations: 93.94 kB / 495 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.4225, allocations: 30.62 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.4226, allocations: 24.38 kB / 495.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.4227, allocations: 325.3 kB / 495.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.4228, allocations: 27.36 kB / 495.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.4229, allocations: 48.62 kB / 495.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.423, allocations: 67.25 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.423, allocations: 1.375 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002178/0.4232, allocations: 112.2 kB / 495.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4233, allocations: 9.781 kB / 495.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4233, allocations: 5.859 kB / 495.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4233, allocations: 5.312 kB / 495.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4234, allocations: 16.91 kB / 495.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4234, allocations: 3.938 kB / 495.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.4235, allocations: 3.391 kB / 495.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4235, allocations: 8.078 kB / 495.7 MB, free: 15.49 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 (11): * Single equations (assignments): 11 * 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.0001053/0.4236, allocations: 123.7 kB / 495.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.4237, allocations: 16.16 kB / 495.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.4237, allocations: 18.39 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4237, allocations: 1.188 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4237, allocations: 1.281 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4238, allocations: 0.7969 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.4242, allocations: 410 kB / 496.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4242, allocations: 5.031 kB / 496.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4243, allocations: 14.39 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4243, allocations: 5.094 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.4243, allocations: 2.703 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.4243, allocations: 5.641 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4243, allocations: 1.766 kB / 496.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.4246, allocations: 212.1 kB / 496.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4247, allocations: 89 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4248, allocations: 3.156 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.4249, allocations: 6.297 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.4249, allocations: 7.141 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.425, allocations: 8.438 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4251, allocations: 123.1 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4251, allocations: 0 / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.4254, allocations: 32.36 kB / 496.7 MB, free: 14.6 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 (9): * Single equations (assignments): 7 * 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.001339/0.4268, allocations: 0.4992 MB / 497.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.427, allocations: 71.48 kB / 497.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.427, allocations: 4.062 kB / 497.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.4271, allocations: 35.44 kB / 497.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4275, allocations: 39.72 kB / 497.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.428, allocations: 206.5 kB / 497.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.4282, allocations: 0.6988 MB / 498.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.4282, allocations: 32.14 kB / 498.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.4283, allocations: 28.91 kB / 498.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4283, allocations: 0 / 498.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of Templates: time 0.006069/0.4344, allocations: 2.045 MB / 0.4887 GB, free: 13.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)