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.001543/0.001543, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.774/1.774, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.374/0.374, allocations: 39.93 MB / 309.7 MB, free: 9.312 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.00305/0.00305, allocations: 67.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1438, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001784/0.1456, allocations: 474.8 kB / 435 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007725/0.1464, allocations: 327.5 kB / 435.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.1464, allocations: 0 / 435.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.1465, allocations: 4 kB / 435.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1465, allocations: 0 / 435.3 MB, free: 2.891 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Files.mo:610:1-680:18:writable] Warning: Pure function 'Modelica.Utilities.Files.splitPathName' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:455:3-480:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.147, allocations: 95.72 kB / 435.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.1471, allocations: 7.984 kB / 435.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1471, allocations: 4 kB / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.1472, allocations: 0 / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.1472, allocations: 3.984 kB / 435.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.1472, allocations: 3.938 kB / 435.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.1475, allocations: 107.9 kB / 435.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1475, allocations: 0 / 435.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1475, allocations: 7.938 kB / 435.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.1477, allocations: 95.83 kB / 435.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.1477, allocations: 7.984 kB / 435.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1477, allocations: 0 / 435.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1477, allocations: 0 / 435.6 MB, free: 2.562 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.0004331/0.1482, allocations: 364.9 kB / 436 MB, free: 2.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1482, allocations: 11.89 kB / 436 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1483, allocations: 4.875 kB / 436 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1484, allocations: 160.4 kB / 436.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1484, allocations: 4.375 kB / 436.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1484, allocations: 8.312 kB / 436.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1486, allocations: 37.83 kB / 436.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1486, allocations: 4 kB / 436.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1486, allocations: 3.984 kB / 436.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1486, allocations: 0 / 436.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.1486, allocations: 3.938 kB / 436.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.1488, allocations: 141.7 kB / 436.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.1488, allocations: 18.61 kB / 436.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.1489, allocations: 8.859 kB / 436.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.1489, allocations: 0 / 436.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.1489, allocations: 68.27 kB / 436.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.149, allocations: 0 / 436.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.000226/0.1492, allocations: 71.23 kB / 436.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1492, allocations: 77.11 kB / 436.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.1493, allocations: 89.86 kB / 436.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1493, allocations: 29.83 kB / 436.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.1494, allocations: 80.14 kB / 436.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1494, allocations: 0 / 436.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1494, allocations: 21.7 kB / 436.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1496, allocations: 310.8 kB / 437.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.1496, allocations: 0 / 437.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.1496, allocations: 0 / 437.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.1497, allocations: 64.33 kB / 437.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1497, allocations: 0 / 437.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.136e-05/0.1497, allocations: 71.33 kB / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.1498, allocations: 33.64 kB / 437.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1498, allocations: 4 kB / 437.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1498, allocations: 0 / 437.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.1498, allocations: 0 / 437.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1498, allocations: 0 / 437.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.1498, allocations: 0 / 437.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1499, allocations: 0 / 437.3 MB, free: 0.6367 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 9.556e-05/0.15, allocations: 139.6 kB / 437.4 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.15, allocations: 7.922 kB / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.312e-05/0.15, allocations: 7.109 kB / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.15, allocations: 0 / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.15, allocations: 3.938 kB / 437.4 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.15, allocations: 4 kB / 437.4 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/0.1501, allocations: 141.7 kB / 437.6 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1501, allocations: 3.938 kB / 437.6 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1501, allocations: 0 / 437.6 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1501, allocations: 3.938 kB / 437.6 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1502, allocations: 8 kB / 437.6 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1502, allocations: 7.984 kB / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1502, allocations: 0 / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.316e-05/0.1503, allocations: 94.77 kB / 437.7 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1503, allocations: 85.05 kB / 437.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1503, allocations: 3.984 kB / 437.8 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.1504, allocations: 4 kB / 437.8 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.1504, allocations: 4.031 kB / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.1504, allocations: 0 / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.1504, allocations: 76.89 kB / 437.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1504, allocations: 4 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1507, allocations: 28 kB / 437.9 MB, free: 15.91 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 (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.0004248/0.1511, allocations: 226.1 kB / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1513, allocations: 55.41 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1513, allocations: 0 / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.1513, allocations: 63.34 kB / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1515, allocations: 15.47 kB / 438.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.1516, allocations: 93.03 kB / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1519, allocations: 0.669 MB / 439 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.791e-06/0.1519, allocations: 0 / 439 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-06/0.1519, allocations: 7.438 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1519, allocations: 0 / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of Templates: time 0.003157/0.1551, allocations: 0.8751 MB / 439.9 MB, free: 13.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile (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)