Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006453/0.006453, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001241/0.001241, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.609/1.609, 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.4117/0.4117, allocations: 38 MB / 307.9 MB, free: 10.03 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.001933/0.001933, allocations: 75.91 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.42, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004291/0.4244, allocations: 1.673 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.4262, allocations: 0.8098 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.4264, allocations: 1.094 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.427, allocations: 58.56 kB / 492.1 MB, free: 18.2 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.0003513/0.4273, allocations: 54.33 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.4277, allocations: 84.95 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.428, allocations: 94.52 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.4282, allocations: 15.36 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.4284, allocations: 45.23 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.4285, allocations: 27.62 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.4285, allocations: 3.75 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.4287, allocations: 45.41 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4288, allocations: 23.31 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.4289, allocations: 42.44 kB / 492.5 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.4293, allocations: 133.2 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.4294, allocations: 1.219 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4294, allocations: 0 / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.4294, allocations: 4 kB / 492.6 MB, free: 17.93 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.0008941/0.4303, allocations: 437.9 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.822e-05/0.4304, allocations: 13.3 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.4304, allocations: 15.5 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.4309, allocations: 222.1 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4309, allocations: 6.094 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.4309, allocations: 11.41 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4311, allocations: 57.77 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4312, allocations: 4.75 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4312, allocations: 4.953 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4312, allocations: 3.938 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.4313, allocations: 18.59 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.4317, allocations: 293.6 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4319, allocations: 60.5 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.432, allocations: 20 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.432, allocations: 1.094 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.4322, allocations: 66.08 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.4322, allocations: 0 / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006454/0.4328, allocations: 186.7 kB / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4329, allocations: 57.66 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.4332, allocations: 257.8 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4333, allocations: 27.92 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.4334, allocations: 114.6 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4334, allocations: 21.56 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.4335, allocations: 26.02 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.4335, allocations: 328.6 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.4336, allocations: 21.84 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.4337, allocations: 43.5 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.4338, allocations: 57.77 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4338, allocations: 0 / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.434, allocations: 106.8 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.434, allocations: 5.344 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4341, allocations: 6.469 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4341, allocations: 0 / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4342, allocations: 19.11 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4342, allocations: 2.328 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.4343, allocations: 10.06 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4343, allocations: 4.375 kB / 495.1 MB, free: 15.85 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.0001207/0.4344, allocations: 136.7 kB / 495.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4345, allocations: 15.03 kB / 495.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.4345, allocations: 18.83 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4345, allocations: 1.219 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4346, allocations: 4.609 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4346, allocations: 4.781 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.435, allocations: 401.9 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.435, allocations: 0.7969 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.4351, allocations: 8.484 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4351, allocations: 0.875 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4351, allocations: 11.27 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4351, allocations: 0.5156 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4351, allocations: 1.609 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.4353, allocations: 219.5 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.4354, allocations: 88.97 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.4354, allocations: 6.031 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.68e-05/0.4355, allocations: 2.094 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.4356, allocations: 5.969 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4356, allocations: 12.78 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4358, allocations: 191.8 kB / 496.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4358, allocations: 0 / 496.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000272/0.4361, allocations: 22.02 kB / 496.2 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 (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.001207/0.4373, allocations: 480.9 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.4376, allocations: 55.94 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4376, allocations: 1.156 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4377, allocations: 32.34 kB / 496.8 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.0005744/0.4383, allocations: 34.77 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.4393, allocations: 280.2 kB / 497.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4396, allocations: 0.7161 MB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.4397, allocations: 20.7 kB / 497.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.4397, allocations: 17.23 kB / 497.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4397, allocations: 0 / 497.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.006716/0.4465, allocations: 1.738 MB / 499.6 MB, free: 13.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)