Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006576/0.006576, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001305/0.001305, allocations: 194.5 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.599/1.599, 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.1+maint.om/package.mo): time 0.4201/0.4201, allocations: 38 MB / 307.9 MB, free: 10.04 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.00153/0.00153, allocations: 71.91 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4162, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003225/0.4195, allocations: 1.69 MB / 491.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.4211, allocations: 0.825 MB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.4212, allocations: 5.219 kB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.4215, allocations: 36.48 kB / 492.1 MB, free: 18.17 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.0002723/0.4218, allocations: 60.39 kB / 492.1 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.4221, allocations: 75.72 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4223, allocations: 101.8 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.4224, allocations: 16.03 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.4225, allocations: 42.91 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.4226, allocations: 41.48 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.4227, allocations: 4.5 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.4229, allocations: 61.06 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.4229, allocations: 19.36 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.423, allocations: 34.08 kB / 492.5 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4233, allocations: 127.5 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4233, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4233, allocations: 1.281 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4233, allocations: 0 / 492.6 MB, free: 17.89 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.000598/0.4239, allocations: 412.9 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.424, allocations: 13.05 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.4241, allocations: 9.781 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.4244, allocations: 208.7 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4244, allocations: 5.938 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4244, allocations: 7.766 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4246, allocations: 79.05 kB / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4246, allocations: 0 / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4247, allocations: 1.688 kB / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4247, allocations: 0 / 493.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.4248, allocations: 27.77 kB / 493.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.4252, allocations: 285.3 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.4253, allocations: 60.62 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.4254, allocations: 29.2 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.4255, allocations: 6.016 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.4256, allocations: 67.7 kB / 493.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.4256, allocations: 0 / 493.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000608/0.4262, allocations: 183.1 kB / 494 MB, free: 16.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.4263, allocations: 79.03 kB / 494.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4265, allocations: 154.7 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4265, allocations: 30.92 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.4265, allocations: 93.81 kB / 494.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.4266, allocations: 31.95 kB / 494.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.4266, allocations: 22.5 kB / 494.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.4267, allocations: 324.8 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.4268, allocations: 23.61 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.4268, allocations: 53.89 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.427, allocations: 63.66 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.427, allocations: 1.062 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002003/0.4272, allocations: 109 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4272, allocations: 4.719 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4272, allocations: 1.094 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4273, allocations: 5.094 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4274, allocations: 16.95 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4274, allocations: 2.328 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.4274, allocations: 14.69 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.4275, allocations: 4.375 kB / 495 MB, free: 15.82 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 8.468e-05/0.4276, allocations: 120.4 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.4276, allocations: 10.67 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.4276, allocations: 19.55 kB / 495.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4276, allocations: 2.797 kB / 495.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4277, allocations: 7.938 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4277, allocations: 4.547 kB / 495.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.4281, allocations: 391.5 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4281, allocations: 3.938 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.4282, allocations: 9.891 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4282, allocations: 2.109 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4282, allocations: 7.203 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4282, allocations: 1.156 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4282, allocations: 4.031 kB / 495.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.4284, allocations: 204.8 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.4285, allocations: 88.69 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4285, allocations: 6.109 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.4286, allocations: 2.797 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.4286, allocations: 10.66 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4287, allocations: 8.172 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.08e-05/0.4288, allocations: 120.4 kB / 496 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4288, allocations: 0 / 496 MB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.4291, allocations: 32.17 kB / 496.1 MB, free: 14.94 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.001215/0.4303, allocations: 0.5061 MB / 496.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4305, allocations: 59.64 kB / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4305, allocations: 0 / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.4306, allocations: 39.36 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.431, allocations: 38.59 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.4315, allocations: 197.2 kB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4317, allocations: 0.697 MB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.4318, allocations: 31.06 kB / 497.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.4318, allocations: 18.11 kB / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4318, allocations: 192 / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.006303/0.4381, allocations: 2.054 MB / 499.7 MB, free: 13.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)