Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 216.5 kB / 22.92 MB, free: 5.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 230.2 MB / 256.2 MB, free: 8.746 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1975/0.1975, allocations: 46.89 MB / 359.3 MB, free: 4.973 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 76.14 kB / 0.494 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2665, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001418/0.2679, allocations: 493 kB / 0.5589 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.2699, allocations: 1.342 MB / 0.5602 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.27, allocations: 0 / 0.5602 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.27, allocations: 0 / 0.5602 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2701, allocations: 15.97 kB / 0.5602 GB, free: 3.367 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:455:3-487: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.0009101/0.271, allocations: 246.2 kB / 0.5604 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.2711, allocations: 7.984 kB / 0.5604 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.86e-05/0.2711, allocations: 4 kB / 0.5604 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.2711, allocations: 0 / 0.5604 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.2712, allocations: 15.48 kB / 0.5604 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-06/0.2712, allocations: 0 / 0.5604 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.275, allocations: 0.6933 MB / 0.5611 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.275, allocations: 4 kB / 0.5611 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.275, allocations: 0 / 0.5611 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.2753, allocations: 181.5 kB / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2753, allocations: 0 / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2753, allocations: 0 / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2753, allocations: 0 / 0.5613 GB, free: 2.359 MB / 398.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.0004139/0.2757, allocations: 392.7 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2758, allocations: 16.03 kB / 0.5617 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.2758, allocations: 30.75 kB / 0.5617 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/0.2758, allocations: 0.9375 kB / 0.5617 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2759, allocations: 160.4 kB / 0.5619 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.276, allocations: 384 / 0.5619 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.276, allocations: 8.312 kB / 0.5619 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.276, allocations: 37.56 kB / 0.5619 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2761, allocations: 4 kB / 0.5619 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2761, allocations: 4 kB / 0.5619 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.2761, allocations: 0 / 0.5619 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.377e-05/0.2761, allocations: 4 kB / 0.5619 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.2762, allocations: 145.7 kB / 0.5621 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.2763, allocations: 18.61 kB / 0.5621 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.2763, allocations: 8.844 kB / 0.5621 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.2763, allocations: 3.938 kB / 0.5621 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.2763, allocations: 64.27 kB / 0.5622 GB, free: 1.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2763, allocations: 4 kB / 0.5622 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.2765, allocations: 63.41 kB / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.2765, allocations: 81.09 kB / 0.5623 GB, free: 1.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.2766, allocations: 93.86 kB / 0.5624 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2767, allocations: 25.7 kB / 0.5624 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.2767, allocations: 84.14 kB / 0.5625 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.2767, allocations: 4 kB / 0.5625 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.2767, allocations: 9.969 kB / 0.5625 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.277, allocations: 314.8 kB / 0.5628 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.277, allocations: 4 kB / 0.5628 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.277, allocations: 3.984 kB / 0.5628 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.277, allocations: 68.2 kB / 0.5629 GB, free: 488 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.277, allocations: 0 / 0.5629 GB, free: 488 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.39e-05/0.2771, allocations: 67.3 kB / 0.5629 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.2771, allocations: 29.7 kB / 0.563 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2771, allocations: 4.094 kB / 0.563 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2772, allocations: 7.984 kB / 0.563 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2772, allocations: 0 / 0.563 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2772, allocations: 0 / 0.563 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.2772, allocations: 0 / 0.563 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2772, allocations: 0 / 0.563 GB, free: 360 kB / 398.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.173e-05/0.2773, allocations: 135.5 kB / 0.5631 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2773, allocations: 3.938 kB / 0.5631 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.07e-05/0.2773, allocations: 7.125 kB / 0.5631 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2773, allocations: 4 kB / 0.5631 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2773, allocations: 7.875 kB / 0.5631 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2773, allocations: 4 kB / 0.5631 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2775, allocations: 149.6 kB / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2775, allocations: 3.938 kB / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.2775, allocations: 0 / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2775, allocations: 3.984 kB / 0.5633 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2775, allocations: 4 kB / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.2775, allocations: 0 / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2775, allocations: 0 / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2776, allocations: 94.83 kB / 0.5634 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.2777, allocations: 81.05 kB / 0.5635 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.2777, allocations: 0 / 0.5635 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.2777, allocations: 11.98 kB / 0.5635 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.2777, allocations: 0 / 0.5635 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2777, allocations: 0 / 0.5635 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.2778, allocations: 75.28 kB / 0.5635 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2778, allocations: 4.125 kB / 0.5635 GB, free: 15.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.2781, allocations: 71.8 kB / 0.5636 GB, free: 15.6 MB / 414.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.001045/0.2791, allocations: 0.8645 MB / 0.5645 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.2792, allocations: 59.41 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2792, allocations: 0 / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.2792, allocations: 55.41 kB / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.2794, allocations: 8 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.2797, allocations: 142.4 kB / 0.5647 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.28, allocations: 0.669 MB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.744e-06/0.28, allocations: 0 / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.2801, allocations: 15.42 kB / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2801, allocations: 4.125 kB / 0.5654 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.3042, allocations: 2.53 MB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.287, allocations: 3.938 kB / 0.5679 GB, free: 11.25 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.75890409600106]