Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001485/0.001485, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.776/1.776, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4203/0.4203, allocations: 39.94 MB / 309.7 MB, free: 9.23 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.2. 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.003546/0.003546, allocations: 74.39 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2357, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00737/0.2432, allocations: 1.771 MB / 436.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.2463, allocations: 0.8833 MB / 437.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.2466, allocations: 3.938 kB / 437.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000958/0.2476, allocations: 299.4 kB / 437.5 MB, free: 0.6953 MB / 366.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.0009108/0.2485, allocations: 215.3 kB / 437.7 MB, free: 496 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.2494, allocations: 135.7 kB / 437.8 MB, free: 360 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.2502, allocations: 235.4 kB / 438 MB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2503, allocations: 17.53 kB / 438 MB, free: 100 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.2507, allocations: 135.5 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.2512, allocations: 187.6 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.2513, allocations: 8 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.2515, allocations: 43.98 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.2518, allocations: 143.6 kB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.2521, allocations: 146.8 kB / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.2529, allocations: 359 kB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.2529, allocations: 3.984 kB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2529, allocations: 0 / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.253, allocations: 0 / 439 MB, free: 15.09 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.001836/0.2548, allocations: 0.7268 MB / 439.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.769e-05/0.2549, allocations: 11.89 kB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.2551, allocations: 56.36 kB / 439.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2564, allocations: 443.8 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.2564, allocations: 8.312 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.2565, allocations: 8.125 kB / 440.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.2569, allocations: 91.28 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2569, allocations: 3.938 kB / 440.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.257, allocations: 4 kB / 440.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.257, allocations: 0 / 440.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.2572, allocations: 31.97 kB / 440.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.2581, allocations: 374.4 kB / 440.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.2586, allocations: 109.2 kB / 440.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.2588, allocations: 45.64 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2588, allocations: 0 / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.2593, allocations: 109 kB / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/0.2593, allocations: 0 / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009786/0.2603, allocations: 200.9 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.2604, allocations: 81.11 kB / 441.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.2626, allocations: 1.03 MB / 442.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.2626, allocations: 33.7 kB / 442.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.263, allocations: 240 kB / 442.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2631, allocations: 27.64 kB / 442.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2632, allocations: 29.72 kB / 442.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003047/0.2635, allocations: 362.8 kB / 443 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2637, allocations: 31.98 kB / 443.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2639, allocations: 63.41 kB / 443.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.2642, allocations: 87.36 kB / 443.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2642, allocations: 0 / 443.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005676/0.2648, allocations: 180.8 kB / 443.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2649, allocations: 8 kB / 443.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2649, allocations: 0 / 443.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.2649, allocations: 0 / 443.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2652, allocations: 23.98 kB / 443.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.2652, allocations: 0.625 kB / 443.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2654, allocations: 11.94 kB / 443.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.2655, allocations: 4 kB / 443.4 MB, free: 10.42 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.0004098/0.2659, allocations: 233.7 kB / 443.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.266, allocations: 51.34 kB / 443.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.2662, allocations: 56 kB / 443.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.2662, allocations: 11.94 kB / 443.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.2662, allocations: 0 / 443.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2662, allocations: 7.922 kB / 443.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.2668, allocations: 337.4 kB / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2668, allocations: 0 / 444.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.2669, allocations: 11.98 kB / 444.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2669, allocations: 0 / 444.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2669, allocations: 4 kB / 444.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.2669, allocations: 4 kB / 444.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.267, allocations: 0 / 444.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.2675, allocations: 201.2 kB / 444.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.2677, allocations: 140.4 kB / 444.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.2678, allocations: 3.984 kB / 444.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.268, allocations: 8 kB / 444.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.2681, allocations: 11.98 kB / 444.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2681, allocations: 4 kB / 444.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.2694, allocations: 0.7721 MB / 445.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2695, allocations: 0 / 445.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004415/0.2699, allocations: 44 kB / 445.3 MB, free: 8.441 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.001471/0.2714, allocations: 429 kB / 445.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.2718, allocations: 91.89 kB / 445.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2719, allocations: 0 / 445.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.272, allocations: 39.92 kB / 445.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.2725, allocations: 70 kB / 445.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.2741, allocations: 0.867 MB / 446.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.2746, allocations: 0.8427 MB / 447.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.2748, allocations: 63.42 kB / 447.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.2749, allocations: 27.44 kB / 447.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2749, allocations: 0 / 447.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of Templates: time 0.0103/0.2852, allocations: 3.711 MB / 451.4 MB, free: 2.285 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)