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.0009023/0.0009023, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002193, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0009374/0.0009374, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002162, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.023/1.023, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1806/1.203, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.1416/0.1416, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02482/0.1665, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.493e-06/1.493e-06, allocations: 0 / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.844e-05, allocations: 2.312 kB / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001043/0.001061, allocations: 0.5478 MB / 267.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.002708, allocations: 1.304 MB / 269.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.002723, allocations: 0 / 269.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-06/0.002727, allocations: 0 / 269.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.002e-06/0.002728, allocations: 0 / 269.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.003822, allocations: 0.5136 MB / 269.7 MB, free: 212 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.003874, allocations: 7.922 kB / 269.7 MB, free: 204 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.00391, allocations: 4 kB / 269.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.003943, allocations: 4 kB / 269.7 MB, free: 196 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.003974, allocations: 0 / 269.7 MB, free: 196 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.003982, allocations: 0 / 269.7 MB, free: 196 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008414/0.0124, allocations: 3.754 MB / 273.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.0124, allocations: 0 / 273.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.18e-05/0.01242, allocations: 8 kB / 273.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.01265, allocations: 175.6 kB / 273.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.01266, allocations: 0 / 273.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01266, allocations: 0 / 273.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01267, allocations: 0 / 273.7 MB, free: 12.22 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.0002045/0.01287, allocations: 306.1 kB / 274 MB, free: 11.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.396e-05/0.0129, allocations: 12.03 kB / 274 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.829e-05/0.01292, allocations: 4.938 kB / 274 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.702e-05/0.01296, allocations: 101.8 kB / 274.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.01297, allocations: 4.375 kB / 274.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-06/0.01298, allocations: 384 / 274.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.76e-05/0.01302, allocations: 59.97 kB / 274.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-06/0.01303, allocations: 4.125 kB / 274.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-06/0.01303, allocations: 4.125 kB / 274.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.01304, allocations: 0 / 274.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.197e-05/0.01305, allocations: 29.69 kB / 274.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.384e-05/0.01309, allocations: 57.05 kB / 274.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.123e-05/0.01312, allocations: 48.31 kB / 274.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.01314, allocations: 30.56 kB / 274.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-06/0.01314, allocations: 0 / 274.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.01316, allocations: 64.33 kB / 274.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.01e-07/0.01316, allocations: 0 / 274.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 7.614e-05/0.01324, allocations: 114.7 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.01329, allocations: 158.2 kB / 274.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.9e-05/0.01332, allocations: 93.84 kB / 274.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.01333, allocations: 25.7 kB / 274.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.01335, allocations: 88.12 kB / 274.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.01336, allocations: 0 / 274.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.01338, allocations: 13.72 kB / 274.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.01345, allocations: 318.8 kB / 275.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.01346, allocations: 29.83 kB / 275.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.01347, allocations: 29.7 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.01351, allocations: 72.12 kB / 275.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01351, allocations: 0 / 275.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.501e-05/0.01356, allocations: 85.11 kB / 275.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.01358, allocations: 29.7 kB / 275.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.01358, allocations: 0 / 275.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.01359, allocations: 0 / 275.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.01359, allocations: 0 / 275.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.0136, allocations: 7.984 kB / 275.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.01361, allocations: 8.031 kB / 275.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.01362, allocations: 0 / 275.4 MB, free: 10.18 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 5.658e-05/0.01367, allocations: 135.5 kB / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.01368, allocations: 0 / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.662e-06/0.01368, allocations: 3 kB / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.01368, allocations: 0 / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01368, allocations: 0 / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01369, allocations: 0 / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.756e-05/0.01372, allocations: 69.83 kB / 275.6 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.01373, allocations: 3.938 kB / 275.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.01373, allocations: 7.984 kB / 275.7 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-06/0.01373, allocations: 3.984 kB / 275.7 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01373, allocations: 4 kB / 275.7 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.01374, allocations: 0 / 275.7 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01374, allocations: 0 / 275.7 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01374, allocations: 4 kB / 275.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.446e-05/0.01379, allocations: 116.5 kB / 275.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.0138, allocations: 4 kB / 275.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-06/0.01381, allocations: 0 / 275.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.01382, allocations: 0 / 275.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.01382, allocations: 32 / 275.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.302e-06/0.01382, allocations: 8.859 kB / 275.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01383, allocations: 0 / 275.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.01399, allocations: 79.73 kB / 275.9 MB, free: 9.688 MB / 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.0006812/0.01467, allocations: 0.4954 MB / 276.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.01474, allocations: 119.6 kB / 276.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01474, allocations: 0 / 276.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.01477, allocations: 89.95 kB / 276.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.203e-05/0.01481, allocations: 12.12 kB / 276.6 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001218/0.01493, allocations: 116 kB / 276.7 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.01496, allocations: 51.36 kB / 276.7 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.927e-06/0.01496, allocations: 3.938 kB / 276.7 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.01499, allocations: 55.38 kB / 276.8 MB, free: 8.641 MB / 282.7 MB Notification: Performance of SimCode: time 3.41e-07/0.015, allocations: 0 / 276.8 MB, free: 8.641 MB / 282.7 MB Notification: Performance of Templates: time 0.003746/0.01874, allocations: 2.67 MB / 279.5 MB, free: 5.965 MB / 282.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: 2.78532790299505]