Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1333/0.1333, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.886e-05, allocations: 6.25 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009265/0.0009453, allocations: 0.5082 MB / 348.1 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.002585, allocations: 1.285 MB / 349.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.002608, allocations: 0 / 349.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.002628, allocations: 0 / 349.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.002636, allocations: 0 / 349.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.00384, allocations: 0.5956 MB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.003905, allocations: 0 / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.003945, allocations: 4 kB / 350 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.003975, allocations: 0 / 350 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.003998, allocations: 7.984 kB / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.004005, allocations: 0 / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007994/0.012, allocations: 3.732 MB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.01201, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.01203, allocations: 4 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.01228, allocations: 203.6 kB / 354 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01228, allocations: 4 kB / 354 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01228, allocations: 0 / 354 MB, free: 3.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.01228, allocations: 0 / 354 MB, free: 3.242 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002329/0.01252, allocations: 413.7 kB / 354.4 MB, free: 2.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.01255, allocations: 12.03 kB / 354.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.01259, allocations: 0.9375 kB / 354.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.069e-05/0.01263, allocations: 104.6 kB / 354.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.01264, allocations: 384 / 354.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.01264, allocations: 4.375 kB / 354.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.048e-05/0.01272, allocations: 59.95 kB / 354.6 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.01272, allocations: 192 / 354.6 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.01273, allocations: 8.125 kB / 354.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.01274, allocations: 0 / 354.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.384e-05/0.01275, allocations: 29.64 kB / 354.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.571e-05/0.01282, allocations: 108.6 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.01286, allocations: 52.77 kB / 354.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.01287, allocations: 41.48 kB / 354.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-06/0.01288, allocations: 0 / 354.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.0129, allocations: 67.08 kB / 354.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.0129, allocations: 0 / 354.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.01304, allocations: 114.8 kB / 355 MB, free: 2.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.01306, allocations: 89.05 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.031e-05/0.01308, allocations: 146.2 kB / 355.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-06/0.01309, allocations: 29.64 kB / 355.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.473e-05/0.0131, allocations: 126.9 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.01312, allocations: 0 / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.01314, allocations: 19.38 kB / 355.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.01318, allocations: 492.1 kB / 355.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.01319, allocations: 25.83 kB / 355.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.0132, allocations: 33.7 kB / 355.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.01323, allocations: 71.08 kB / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01323, allocations: 0 / 356 MB, free: 0.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.762e-05/0.01327, allocations: 89.05 kB / 356.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.01329, allocations: 29.7 kB / 356.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01329, allocations: 0 / 356.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.0133, allocations: 0 / 356.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-06/0.01331, allocations: 0 / 356.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01331, allocations: 3.938 kB / 356.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.125e-05/0.01332, allocations: 16.02 kB / 356.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.01333, allocations: 0 / 356.1 MB, free: 0.7969 MB / 282.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.101e-05/0.01337, allocations: 182.3 kB / 356.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-06/0.01338, allocations: 4 kB / 356.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-06/0.01338, allocations: 3 kB / 356.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01339, allocations: 0 / 356.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01339, allocations: 3.938 kB / 356.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01339, allocations: 0 / 356.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.947e-05/0.01342, allocations: 116.6 kB / 356.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.01342, allocations: 0 / 356.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.01342, allocations: 4 kB / 356.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.01342, allocations: 0 / 356.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.01343, allocations: 0 / 356.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.01343, allocations: 0 / 356.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01343, allocations: 0 / 356.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.952e-05/0.01348, allocations: 139.7 kB / 356.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-06/0.01348, allocations: 0 / 356.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.01349, allocations: 0 / 356.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-06/0.0135, allocations: 0 / 356.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.01351, allocations: 7.984 kB / 356.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.01351, allocations: 3.938 kB / 356.6 MB, free: 260 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.074e-05/0.01352, allocations: 127.2 kB / 356.7 MB, free: 132 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01352, allocations: 0 / 356.7 MB, free: 132 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.01368, allocations: 67.86 kB / 356.8 MB, free: 64 kB / 282.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000585/0.01427, allocations: 436.3 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.01436, allocations: 122.4 kB / 357.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01436, allocations: 0 / 357.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.01439, allocations: 88.8 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.618e-05/0.01447, allocations: 8 kB / 357.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001567/0.01463, allocations: 113.8 kB / 357.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.977e-05/0.01466, allocations: 59.3 kB / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.468e-06/0.01467, allocations: 0 / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.01468, allocations: 16.44 kB / 357.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01468, allocations: 0 / 357.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of Templates: time 0.003648/0.01833, allocations: 2.518 MB / 360.1 MB, free: 12.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.061236443929374]