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.001325/0.001325, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002183/0.002183, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.476/1.476, allocations: 230.5 MB / 258.2 MB, free: 8.238 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.2449/0.2449, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.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.002322/0.002322, allocations: 79.88 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3057, allocations: 66.08 MB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001685/0.3074, allocations: 489.1 kB / 0.5619 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3101, allocations: 1.331 MB / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.3101, allocations: 0 / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.3101, allocations: 0 / 0.5632 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.3101, allocations: 0 / 0.5632 GB, free: 2.551 MB / 398.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.00165/0.3118, allocations: 0.5881 MB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.3118, allocations: 4 kB / 0.5638 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.3118, allocations: 3.984 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.3119, allocations: 3.938 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.3119, allocations: 4 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.3119, allocations: 3.984 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.3291, allocations: 2.535 MB / 0.5663 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.3291, allocations: 4 kB / 0.5663 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.3292, allocations: 0 / 0.5663 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3295, allocations: 163.7 kB / 0.5665 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3295, allocations: 0 / 0.5665 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3295, allocations: 3.938 kB / 0.5665 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3295, allocations: 0 / 0.5665 GB, free: 15.76 MB / 414.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.0003682/0.3299, allocations: 299.8 kB / 0.5668 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.793e-05/0.33, allocations: 12.03 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.33, allocations: 34.75 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.33, allocations: 4.938 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.45e-05/0.3301, allocations: 106.5 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3301, allocations: 4.375 kB / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-06/0.3301, allocations: 384 / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/0.3302, allocations: 38.12 kB / 0.567 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3302, allocations: 7.938 kB / 0.567 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.3303, allocations: 0 / 0.567 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3303, allocations: 0 / 0.567 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.3303, allocations: 0 / 0.567 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.3304, allocations: 120.8 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.3305, allocations: 18.58 kB / 0.5671 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.3305, allocations: 8.844 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.3305, allocations: 0 / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.3305, allocations: 64.27 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3305, allocations: 0 / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.3307, allocations: 63.34 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3308, allocations: 85.23 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.3308, allocations: 93.84 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3308, allocations: 25.7 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3309, allocations: 80.14 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3309, allocations: 0 / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3309, allocations: 13.72 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3311, allocations: 310.8 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.3311, allocations: 0 / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.3311, allocations: 8 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/0.3312, allocations: 64.2 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3312, allocations: 0 / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.754e-05/0.3313, allocations: 63.39 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.3313, allocations: 33.7 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3313, allocations: 7.922 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3313, allocations: 0 / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3313, allocations: 0 / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3313, allocations: 0 / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.3313, allocations: 8.047 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3314, allocations: 0 / 0.568 GB, free: 13.97 MB / 414.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 0.0001049/0.3315, allocations: 143.5 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.3315, allocations: 4 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.3315, allocations: 10.88 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3315, allocations: 0 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3315, allocations: 0 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3315, allocations: 7.938 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.3316, allocations: 116.8 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3316, allocations: 7.938 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-06/0.3316, allocations: 3.984 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3316, allocations: 0 / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3316, allocations: 7.938 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3316, allocations: 4 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3316, allocations: 0 / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.3317, allocations: 86.84 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.3317, allocations: 4.016 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3317, allocations: 7.938 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.3317, allocations: 0 / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-06/0.3317, allocations: 0 / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.3317, allocations: 4 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.3318, allocations: 75.28 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3318, allocations: 0 / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3321, allocations: 67.86 kB / 0.5685 GB, free: 13.34 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.001358/0.3334, allocations: 0.9259 MB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3335, allocations: 59.41 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3335, allocations: 4.062 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.3336, allocations: 55.41 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.3337, allocations: 13.94 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.3341, allocations: 138.5 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3344, allocations: 0.6729 MB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.234e-06/0.3344, allocations: 3.984 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.3344, allocations: 7.438 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3344, allocations: 0 / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3601, allocations: 3.137 MB / 0.5734 GB, free: 8.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.479, allocations: 11.06 kB / 0.5734 GB, free: 8.328 MB / 414.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.242379305884242] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.5522430120036 8.577228294 8.243118929 Calling exit ...