Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3314/0.3314, allocations: 40.01 MB / 310.4 MB, free: 9.918 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.00065/0.0006501, allocations: 15.98 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.129, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0007628/0.1298, allocations: 212.5 kB / 437 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.1307, allocations: 311 kB / 437.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.1308, allocations: 4 kB / 437.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1308, allocations: 0 / 437.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.025e-06/0.1308, allocations: 0 / 437.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.1314, allocations: 71.8 kB / 437.3 MB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.1314, allocations: 4 kB / 437.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.48e-05/0.1315, allocations: 0 / 437.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1315, allocations: 3.938 kB / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.1316, allocations: 0 / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.1316, allocations: 0 / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.132, allocations: 151.8 kB / 437.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.132, allocations: 7.984 kB / 437.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.1321, allocations: 25.7 kB / 437.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.764e-05/0.1321, allocations: 4 kB / 437.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1322, allocations: 0 / 437.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1322, allocations: 4 kB / 437.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1322, allocations: 0 / 437.5 MB, free: 1.797 MB / 366.1 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.0003776/0.1326, allocations: 345.1 kB / 437.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1326, allocations: 8.031 kB / 437.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.1327, allocations: 0 / 437.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1328, allocations: 167 kB / 438 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1328, allocations: 0 / 438 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1328, allocations: 0 / 438 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1329, allocations: 33.69 kB / 438.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.133, allocations: 4 kB / 438.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.133, allocations: 3.938 kB / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.133, allocations: 0 / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.133, allocations: 0 / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1332, allocations: 149.6 kB / 438.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.1333, allocations: 18.61 kB / 438.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.1333, allocations: 0 / 438.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.1333, allocations: 64.25 kB / 438.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.664e-06/0.1333, allocations: 0 / 438.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002121/0.1336, allocations: 67.31 kB / 438.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1336, allocations: 85.11 kB / 438.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.1337, allocations: 89.86 kB / 438.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1337, allocations: 29.64 kB / 438.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.1338, allocations: 80.14 kB / 438.7 MB, free: 464 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1338, allocations: 0 / 438.7 MB, free: 464 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.1338, allocations: 128 / 438.7 MB, free: 464 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1339, allocations: 322.8 kB / 439 MB, free: 132 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.134, allocations: 3.938 kB / 439 MB, free: 128 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.134, allocations: 4 kB / 439 MB, free: 124 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.134, allocations: 25.7 kB / 439 MB, free: 92 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.134, allocations: 0 / 439 MB, free: 92 kB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.6e-05/0.1341, allocations: 67.34 kB / 439.1 MB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.1342, allocations: 37.28 kB / 439.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1342, allocations: 0 / 439.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1342, allocations: 8.094 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.1342, allocations: 0 / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1342, allocations: 0 / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1343, allocations: 0 / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1343, allocations: 0 / 439.1 MB, free: 15.96 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1344, allocations: 139.5 kB / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.1344, allocations: 0 / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.1344, allocations: 3.125 kB / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1344, allocations: 0 / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1345, allocations: 4 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1345, allocations: 3.984 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1346, allocations: 153.6 kB / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1346, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.1346, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1346, allocations: 3.984 kB / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1346, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1346, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1346, allocations: 4 kB / 439.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1348, allocations: 98.77 kB / 439.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1348, allocations: 81.06 kB / 439.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1348, allocations: 4 kB / 439.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.1348, allocations: 0 / 439.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.1349, allocations: 3.984 kB / 439.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1349, allocations: 0 / 439.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.273e-05/0.1349, allocations: 75.28 kB / 439.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1349, allocations: 0 / 439.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1351, allocations: 12 kB / 439.7 MB, free: 15.28 MB / 382.1 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 (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.0002839/0.1354, allocations: 135 kB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.1355, allocations: 55.41 kB / 439.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1355, allocations: 0 / 439.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.1356, allocations: 63.34 kB / 439.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.444e-05/0.1357, allocations: 0 / 439.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.1359, allocations: 86.81 kB / 440 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1361, allocations: 0.6731 MB / 440.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.023e-06/0.1362, allocations: 0 / 440.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-06/0.1362, allocations: 7.438 kB / 440.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1362, allocations: 0 / 440.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of Templates: time 0.002524/0.1387, allocations: 336.4 kB / 441 MB, free: 13.86 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.pipe 2>&1) Environment - environmentSimulation: