Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001759/0.00176, allocations: 190.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222 MB, free: 4.781 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.3842/0.3842, allocations: 39.93 MB / 309.3 MB, free: 9.609 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.001612/0.001612, allocations: 66.98 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1301, allocations: 56.88 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001947/0.1321, allocations: 0.544 MB / 434.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.1328, allocations: 260.8 kB / 434.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.196e-05/0.1329, allocations: 0 / 434.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.1329, allocations: 0 / 434.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.1329, allocations: 0 / 434.6 MB, free: 3.613 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function ‘ModelicaTest.Utilities.Internal‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1332, allocations: 47.89 kB / 434.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.602e-05/0.1332, allocations: 4 kB / 434.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1333, allocations: 0 / 434.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.1333, allocations: 3.984 kB / 434.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.1333, allocations: 0 / 434.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.1334, allocations: 0 / 434.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1335, allocations: 59.95 kB / 434.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.1335, allocations: 3.938 kB / 434.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1335, allocations: 4 kB / 434.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1337, allocations: 55.92 kB / 434.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1337, allocations: 0 / 434.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1337, allocations: 4 kB / 434.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1337, allocations: 0 / 434.8 MB, free: 3.434 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.0003133/0.134, allocations: 353.3 kB / 435.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1341, allocations: 12.03 kB / 435.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.1341, allocations: 4.875 kB / 435.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.1342, allocations: 160.4 kB / 435.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1342, allocations: 384 / 435.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1342, allocations: 4.359 kB / 435.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.91e-05/0.1343, allocations: 38.2 kB / 435.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1343, allocations: 192 / 435.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1343, allocations: 3.938 kB / 435.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1343, allocations: 0 / 435.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.1344, allocations: 3.938 kB / 435.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.1345, allocations: 149.7 kB / 435.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.1345, allocations: 18.56 kB / 435.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.1346, allocations: 8.953 kB / 435.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.1346, allocations: 4 kB / 435.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1346, allocations: 56.27 kB / 435.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1346, allocations: 0 / 435.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.1348, allocations: 71.19 kB / 435.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.1348, allocations: 85.09 kB / 435.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.413e-05/0.1349, allocations: 89.86 kB / 435.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1349, allocations: 25.7 kB / 435.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.1349, allocations: 80.14 kB / 435.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1349, allocations: 8.125 kB / 435.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.135, allocations: 9.719 kB / 435.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1351, allocations: 310.8 kB / 436.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.1351, allocations: 4 kB / 436.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.1351, allocations: 0 / 436.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.1352, allocations: 64.27 kB / 436.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1352, allocations: 0 / 436.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.833e-05/0.1352, allocations: 71.39 kB / 436.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.1353, allocations: 29.7 kB / 436.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1353, allocations: 3.984 kB / 436.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1353, allocations: 3.938 kB / 436.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.1353, allocations: 0 / 436.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1353, allocations: 0 / 436.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.1353, allocations: 4 kB / 436.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1353, allocations: 3.984 kB / 436.4 MB, free: 1.512 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.1354, allocations: 139.5 kB / 436.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.1354, allocations: 11.97 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.149e-05/0.1355, allocations: 7.062 kB / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1355, allocations: 0 / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1355, allocations: 0 / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-06/0.1355, allocations: 0 / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.668e-05/0.1356, allocations: 145.7 kB / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1356, allocations: 0 / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-06/0.1356, allocations: 8 kB / 436.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1356, allocations: 0 / 436.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1356, allocations: 3.938 kB / 436.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1356, allocations: 3.938 kB / 436.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1356, allocations: 4 kB / 436.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.1357, allocations: 94.77 kB / 436.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.1357, allocations: 77.11 kB / 436.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1358, allocations: 3.938 kB / 436.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.1358, allocations: 0 / 436.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.1358, allocations: 4 kB / 436.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1358, allocations: 0 / 436.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.593e-05/0.1359, allocations: 79.31 kB / 437 MB, free: 0.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1359, allocations: 0 / 437 MB, free: 0.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1361, allocations: 27.98 kB / 437 MB, free: 0.8047 MB / 366.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 (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.0004902/0.1366, allocations: 260.7 kB / 437.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.085e-05/0.1367, allocations: 71.34 kB / 437.3 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1367, allocations: 0 / 437.3 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.1368, allocations: 55.41 kB / 437.4 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1369, allocations: 7.922 kB / 437.4 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.1371, allocations: 78.7 kB / 437.5 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1374, allocations: 0.6692 MB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.784e-06/0.1374, allocations: 3.984 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-06/0.1374, allocations: 7.438 kB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1374, allocations: 4.125 kB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Templates: time 0.002954/0.1404, allocations: 0.7931 MB / 439 MB, free: 14.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1)