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.001878/0.001878, allocations: 96.97 kB / 20.21 MB, free: 4.203 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.001961/0.001961, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.456/1.456, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2422/0.2422, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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 2.074e-06/2.074e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.226e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001417/0.001449, allocations: 0.4926 MB / 347.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.003502, allocations: 1.285 MB / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.003518, allocations: 0 / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.003529, allocations: 0 / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.003534, allocations: 3.938 kB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.00487, allocations: 0.5879 MB / 349.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.004924, allocations: 3.984 kB / 349.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.004957, allocations: 4 kB / 349.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.004998, allocations: 4 kB / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.005029, allocations: 0 / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.005038, allocations: 0 / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/0.02794, allocations: 3.743 MB / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.02795, allocations: 3.938 kB / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.02798, allocations: 4 kB / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.02839, allocations: 199.6 kB / 353.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.02839, allocations: 0 / 353.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02839, allocations: 0 / 353.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.0284, allocations: 0 / 353.2 MB, free: 3.602 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.0003048/0.0287, allocations: 417.7 kB / 353.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.02874, allocations: 8.031 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.02878, allocations: 0.9375 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.013e-05/0.02883, allocations: 108.6 kB / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.02884, allocations: 384 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.02885, allocations: 384 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.02895, allocations: 63.95 kB / 353.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.02896, allocations: 4.125 kB / 353.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.02897, allocations: 4.125 kB / 353.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.02898, allocations: 0 / 353.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.042e-05/0.02901, allocations: 29.7 kB / 353.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.02912, allocations: 112.6 kB / 354 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.571e-05/0.02919, allocations: 56.78 kB / 354 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.02921, allocations: 33.39 kB / 354.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.02922, allocations: 0 / 354.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.02926, allocations: 67.14 kB / 354.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.02926, allocations: 4 kB / 354.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002033/0.02946, allocations: 118.8 kB / 354.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.0295, allocations: 81.05 kB / 354.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.73e-05/0.02953, allocations: 146.2 kB / 354.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.02954, allocations: 25.7 kB / 354.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.02956, allocations: 130.9 kB / 354.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.02958, allocations: 0 / 354.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.0296, allocations: 19.38 kB / 354.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.02967, allocations: 496.1 kB / 355.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.02968, allocations: 25.83 kB / 355.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.0297, allocations: 29.7 kB / 355.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.02973, allocations: 67.03 kB / 355.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.02973, allocations: 3.938 kB / 355.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.686e-05/0.02979, allocations: 93.09 kB / 355.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.02981, allocations: 33.7 kB / 355.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.02982, allocations: 0 / 355.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.02983, allocations: 0 / 355.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.02984, allocations: 0 / 355.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.02984, allocations: 3.938 kB / 355.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.02985, allocations: 8.094 kB / 355.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.02986, allocations: 7.984 kB / 355.4 MB, free: 1.145 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.272e-05/0.02992, allocations: 178.3 kB / 355.6 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.02992, allocations: 4 kB / 355.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.002e-05/0.02993, allocations: 3 kB / 355.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.02994, allocations: 0 / 355.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.02994, allocations: 3.938 kB / 355.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.02994, allocations: 0 / 355.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.257e-05/0.03, allocations: 116.6 kB / 355.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.03, allocations: 3.938 kB / 355.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.03, allocations: 4 kB / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.03, allocations: 0 / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.03001, allocations: 0 / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.03001, allocations: 0 / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.03001, allocations: 0 / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.349e-05/0.03009, allocations: 135.8 kB / 355.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.03009, allocations: 0 / 355.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.03011, allocations: 0 / 355.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.03011, allocations: 0 / 355.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.03013, allocations: 4 kB / 355.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.03013, allocations: 3.938 kB / 355.8 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.597e-05/0.03015, allocations: 123.2 kB / 356 MB, free: 500 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03015, allocations: 0 / 356 MB, free: 500 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000277/0.03043, allocations: 75.73 kB / 356 MB, free: 424 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.001169/0.03159, allocations: 424.1 kB / 356.4 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.03177, allocations: 126.5 kB / 356.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.03177, allocations: 0 / 356.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.03184, allocations: 88.8 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.03199, allocations: 4 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.03226, allocations: 113.7 kB / 356.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.486e-05/0.03233, allocations: 63.41 kB / 356.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.03234, allocations: 0 / 356.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.03236, allocations: 12.5 kB / 356.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03236, allocations: 0 / 356.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of Templates: time 0.006529/0.03889, allocations: 2.151 MB / 359 MB, free: 13.34 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: 4.9078404230531305]