Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.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.001757/0.001757, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.00229/0.00229, allocations: 221 kB / 23.72 MB, free: 5.051 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.475/1.475, allocations: 230.2 MB / 257.1 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] 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.2307/0.2307, allocations: 46.89 MB / 360.3 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] 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.TestStrings,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings",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.002352/0.002352, allocations: 83.86 kB / 0.4955 GB, free: 8.902 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3206, allocations: 65.97 MB / 0.5599 GB, free: 34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001552/0.3221, allocations: 483.8 kB / 0.5604 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3241, allocations: 1.327 MB / 0.5617 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.3241, allocations: 0.5 kB / 0.5617 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.3242, allocations: 0 / 0.5617 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.473e-06/0.3242, allocations: 1.75 kB / 0.5617 GB, free: 32.91 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.3255, allocations: 0.5698 MB / 0.5623 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.3256, allocations: 8.594 kB / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.3256, allocations: 12.19 kB / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.3256, allocations: 0 / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.728e-05/0.3256, allocations: 0 / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.3256, allocations: 3.938 kB / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.3415, allocations: 2.535 MB / 0.5648 GB, free: 32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.3415, allocations: 3 kB / 0.5648 GB, free: 32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.3415, allocations: 0.875 kB / 0.5648 GB, free: 32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.3419, allocations: 163.5 kB / 0.5649 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3419, allocations: 0.8438 kB / 0.5649 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3419, allocations: 0 / 0.5649 GB, free: 31.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3419, allocations: 0.8125 kB / 0.5649 GB, free: 31.94 MB / 446.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.0003179/0.3423, allocations: 387 kB / 0.5653 GB, free: 31.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3423, allocations: 9 kB / 0.5653 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.3423, allocations: 34.69 kB / 0.5653 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.3424, allocations: 4.578 kB / 0.5653 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.287e-05/0.3424, allocations: 165.3 kB / 0.5655 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3424, allocations: 384 / 0.5655 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.3424, allocations: 384 / 0.5655 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.051e-05/0.3425, allocations: 30.58 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3425, allocations: 4.625 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.3425, allocations: 0.75 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3425, allocations: 5.75 kB / 0.5655 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.3425, allocations: 7.062 kB / 0.5655 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.786e-05/0.3426, allocations: 147.2 kB / 0.5657 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.3427, allocations: 22.23 kB / 0.5657 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.3427, allocations: 5.422 kB / 0.5657 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.3427, allocations: 0 / 0.5657 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3427, allocations: 59.97 kB / 0.5658 GB, free: 30.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3427, allocations: 0 / 0.5658 GB, free: 30.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.3429, allocations: 71.75 kB / 0.5658 GB, free: 30.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3429, allocations: 80.77 kB / 0.5659 GB, free: 30.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.917e-05/0.3429, allocations: 93.98 kB / 0.566 GB, free: 30.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.3429, allocations: 25.7 kB / 0.566 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-06/0.3429, allocations: 80.66 kB / 0.5661 GB, free: 30.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.343, allocations: 3.953 kB / 0.5661 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.343, allocations: 13.17 kB / 0.5661 GB, free: 30.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.343, allocations: 311.5 kB / 0.5664 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.343, allocations: 4.516 kB / 0.5664 GB, free: 30.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.343, allocations: 3.031 kB / 0.5664 GB, free: 30.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.3431, allocations: 68.44 kB / 0.5665 GB, free: 30.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3431, allocations: 0 / 0.5665 GB, free: 30.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.741e-05/0.3431, allocations: 59.47 kB / 0.5665 GB, free: 30.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3432, allocations: 32.41 kB / 0.5666 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3432, allocations: 3.938 kB / 0.5666 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3432, allocations: 4.453 kB / 0.5666 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3432, allocations: 2.938 kB / 0.5666 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3432, allocations: 4.875 kB / 0.5666 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.3432, allocations: 0 / 0.5666 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3432, allocations: 4.031 kB / 0.5666 GB, free: 30.05 MB / 446.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 4.905e-05/0.3433, allocations: 143.7 kB / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.3433, allocations: 0 / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.031e-05/0.3433, allocations: 7.719 kB / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3433, allocations: 3.062 kB / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3433, allocations: 0.7969 kB / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3433, allocations: 0 / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.094e-05/0.3433, allocations: 143.9 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3433, allocations: 2.969 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.3433, allocations: 4 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3433, allocations: 1.031 kB / 0.5669 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3433, allocations: 3.938 kB / 0.5669 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3433, allocations: 0 / 0.5669 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3433, allocations: 3.938 kB / 0.5669 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.3434, allocations: 90.16 kB / 0.567 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.3434, allocations: 77.91 kB / 0.5671 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3434, allocations: 11.06 kB / 0.5671 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.3435, allocations: 0.75 kB / 0.5671 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.3435, allocations: 0 / 0.5671 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.3435, allocations: 4 kB / 0.5671 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.066e-05/0.3435, allocations: 75.28 kB / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3435, allocations: 0 / 0.5671 GB, free: 29.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.3438, allocations: 69.14 kB / 0.5672 GB, free: 29.4 MB / 446.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.001117/0.3449, allocations: 0.931 MB / 0.5681 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.345, allocations: 62.53 kB / 0.5682 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.345, allocations: 64 / 0.5682 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.345, allocations: 59.91 kB / 0.5682 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.3451, allocations: 3 kB / 0.5682 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.3455, allocations: 143.6 kB / 0.5684 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.107e-05/0.3455, allocations: 0.6696 MB / 0.569 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.64e-06/0.3455, allocations: 0 / 0.569 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.3456, allocations: 14.44 kB / 0.569 GB, free: 27.68 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3456, allocations: 0 / 0.569 GB, free: 27.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.3713, allocations: 3.141 MB / 0.5721 GB, free: 27.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.679, allocations: 5.312 kB / 0.5721 GB, free: 27.1 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.555399187840521] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.751847922801971 8.765490581 8.420555505 Calling exit ...