Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001265/0.001265, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.268/1.268, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001581/0.001581, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1717/0.1717, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.053e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08901, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.4187, allocations: 75.77 MB / 481.5 MB, free: 18.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.419, allocations: 68.88 kB / 481.5 MB, free: 18.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.4297, allocations: 4.142 MB / 485.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4298, allocations: 0 / 485.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.4298, allocations: 0 / 485.7 MB, free: 18.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00033/0.4301, allocations: 428.2 kB / 486.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4302, allocations: 7.875 kB / 486.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.4302, allocations: 7.781 kB / 486.1 MB, free: 17.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.4305, allocations: 205.8 kB / 486.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4305, allocations: 3.875 kB / 486.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.4305, allocations: 3.875 kB / 486.3 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.4306, allocations: 45.95 kB / 486.4 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4306, allocations: 0 / 486.4 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4307, allocations: 0 / 486.4 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4307, allocations: 0 / 486.4 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.4307, allocations: 21.12 kB / 486.4 MB, free: 17.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.4311, allocations: 297 kB / 486.7 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.4313, allocations: 41.92 kB / 486.7 MB, free: 17.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.4313, allocations: 12.39 kB / 486.7 MB, free: 17.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.4313, allocations: 3.938 kB / 486.7 MB, free: 17.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.4314, allocations: 61.88 kB / 486.8 MB, free: 17.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.4314, allocations: 0 / 486.8 MB, free: 17.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003927/0.4318, allocations: 114.9 kB / 486.9 MB, free: 17.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.4319, allocations: 55.34 kB / 487 MB, free: 17.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4321, allocations: 185 kB / 487.2 MB, free: 17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.4321, allocations: 29.58 kB / 487.2 MB, free: 16.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.4321, allocations: 96.91 kB / 487.3 MB, free: 16.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.4321, allocations: 21.16 kB / 487.3 MB, free: 16.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.4322, allocations: 0 / 487.3 MB, free: 16.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.4322, allocations: 325.4 kB / 487.6 MB, free: 16.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.4323, allocations: 18.84 kB / 487.6 MB, free: 16.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.4323, allocations: 28.62 kB / 487.7 MB, free: 16.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.128e-05/0.4324, allocations: 55.89 kB / 487.7 MB, free: 16.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.4324, allocations: 0 / 487.7 MB, free: 16.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001462/0.4325, allocations: 128.6 kB / 487.8 MB, free: 16.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.4326, allocations: 35.06 kB / 487.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4326, allocations: 0 / 487.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4326, allocations: 1.781 kB / 487.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.4326, allocations: 7.844 kB / 487.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4327, allocations: 1.781 kB / 487.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.4327, allocations: 11.61 kB / 487.9 MB, free: 16.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.4327, allocations: 7.859 kB / 487.9 MB, free: 16.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.4328, allocations: 105.3 kB / 488 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.4328, allocations: 16.86 kB / 488 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.4329, allocations: 95.73 kB / 488.1 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.433, allocations: 7.5 kB / 488.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.433, allocations: 0 / 488.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.433, allocations: 0 / 488.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4332, allocations: 363.3 kB / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4333, allocations: 0 / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.4333, allocations: 9.844 kB / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4333, allocations: 0 / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4333, allocations: 0 / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4333, allocations: 3.875 kB / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4333, allocations: 0 / 488.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.4334, allocations: 174.6 kB / 488.7 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.4335, allocations: 94.86 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4335, allocations: 3.625 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.4336, allocations: 5.406 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.4336, allocations: 1.078 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4336, allocations: 5.875 kB / 488.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.4337, allocations: 156.1 kB / 488.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 3.938 kB / 488.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.434, allocations: 33.08 kB / 489 MB, free: 15.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000648/0.4346, allocations: 335.1 kB / 489.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.4348, allocations: 110 kB / 489.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4348, allocations: 0 / 489.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.4348, allocations: 20.55 kB / 489.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.435, allocations: 16.83 kB / 489.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.4353, allocations: 164.4 kB / 489.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.4355, allocations: 0.703 MB / 490.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.911e-05/0.4355, allocations: 15.77 kB / 490.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4356, allocations: 16.38 kB / 490.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4356, allocations: 0 / 490.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Templates: time 0.003433/0.439, allocations: 1.557 MB / 491.9 MB, free: 14.36 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)