Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008845/0.008845, allocations: 103.8 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.001665/0.001665, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.695/1.695, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3612/0.3612, allocations: 38 MB / 307.9 MB, free: 10.11 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.001585/0.001585, allocations: 75.84 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3594, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004134/0.3636, allocations: 1.766 MB / 491.3 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3656, allocations: 0.875 MB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3657, allocations: 9.562 kB / 492.2 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.3666, allocations: 310.5 kB / 492.5 MB, free: 18.18 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.0005847/0.3672, allocations: 204 kB / 492.7 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.3677, allocations: 135.9 kB / 492.8 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.3682, allocations: 247.2 kB / 493 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.3683, allocations: 14.16 kB / 493 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3685, allocations: 125.2 kB / 493.2 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.3688, allocations: 189.5 kB / 493.4 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.3689, allocations: 10.44 kB / 493.4 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.369, allocations: 53.28 kB / 493.4 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3692, allocations: 138.8 kB / 493.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3693, allocations: 146.8 kB / 493.7 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.3698, allocations: 362.9 kB / 494 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3698, allocations: 1.062 kB / 494 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3699, allocations: 0 / 494 MB, free: 17.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3699, allocations: 0 / 494 MB, free: 17.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001136/0.371, allocations: 0.7304 MB / 494.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3711, allocations: 17.86 kB / 494.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.3712, allocations: 50.03 kB / 494.8 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.3721, allocations: 445.2 kB / 495.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3721, allocations: 7.188 kB / 495.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3722, allocations: 8.234 kB / 495.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.3725, allocations: 86.17 kB / 495.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3725, allocations: 0 / 495.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3725, allocations: 1.125 kB / 495.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3725, allocations: 5.969 kB / 495.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3726, allocations: 30.45 kB / 495.4 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.3732, allocations: 377.1 kB / 495.8 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3735, allocations: 109.2 kB / 495.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3736, allocations: 47.47 kB / 495.9 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3736, allocations: 1.125 kB / 495.9 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.3739, allocations: 112.9 kB / 496 MB, free: 16.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3739, allocations: 4 kB / 496.1 MB, free: 16.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000494/0.3744, allocations: 198.5 kB / 496.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3744, allocations: 80.06 kB / 496.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3757, allocations: 1.031 MB / 497.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3757, allocations: 30.89 kB / 497.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3759, allocations: 229.2 kB / 497.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.3759, allocations: 32 kB / 497.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.376, allocations: 27.75 kB / 497.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3761, allocations: 370.3 kB / 498 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.3762, allocations: 27.33 kB / 498.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.3763, allocations: 60.7 kB / 498.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3765, allocations: 88.77 kB / 498.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3765, allocations: 0 / 498.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003307/0.3769, allocations: 176 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3769, allocations: 5.5 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3769, allocations: 1.375 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.377, allocations: 2.75 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3771, allocations: 21.06 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3771, allocations: 1.438 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3773, allocations: 14.77 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3773, allocations: 8.781 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000272/0.3776, allocations: 228.2 kB / 498.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.3776, allocations: 49.12 kB / 498.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3778, allocations: 62.45 kB / 498.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3778, allocations: 2.812 kB / 498.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.3778, allocations: 0 / 498.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3778, allocations: 6.016 kB / 498.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.3783, allocations: 346.2 kB / 499.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3783, allocations: 1.531 kB / 499.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.3783, allocations: 11.3 kB / 499.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3783, allocations: 1.469 kB / 499.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3783, allocations: 6.781 kB / 499.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3784, allocations: 1.438 kB / 499.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3784, allocations: 5.156 kB / 499.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3787, allocations: 205.3 kB / 499.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.3789, allocations: 134.2 kB / 499.5 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.379, allocations: 7.219 kB / 499.5 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3791, allocations: 4.406 kB / 499.5 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3791, allocations: 11 kB / 499.5 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.3792, allocations: 6.891 kB / 499.5 MB, free: 14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001136/0.3803, allocations: 0.7728 MB / 0.4885 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3803, allocations: 0 / 0.4885 GB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.3806, allocations: 41.28 kB / 0.4886 GB, free: 13.72 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001065/0.3817, allocations: 415.2 kB / 0.489 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.382, allocations: 81.38 kB / 0.4891 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.382, allocations: 1.125 kB / 0.4891 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3822, allocations: 39.2 kB / 0.4891 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3827, allocations: 80.44 kB / 0.4892 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.384, allocations: 0.8647 MB / 0.49 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3844, allocations: 0.8394 MB / 0.4908 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.3846, allocations: 60.42 kB / 0.4909 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.3846, allocations: 36.64 kB / 0.4909 GB, free: 12.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3846, allocations: 0 / 0.4909 GB, free: 12.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01096/0.3956, allocations: 3.839 MB / 0.4947 GB, free: 11.4 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)