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.001909/0.001909, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002452/0.002452, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.505/1.505, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2324/0.2324, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.002334/0.002334, allocations: 83.86 kB / 0.4912 GB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1214, allocations: 65.98 MB / 0.5556 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001733/0.1231, allocations: 498.1 kB / 0.5561 GB, free: 6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1256, allocations: 1.306 MB / 0.5574 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.1257, allocations: 0 / 0.5574 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.1257, allocations: 0 / 0.5574 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.1257, allocations: 0 / 0.5574 GB, free: 4.691 MB / 414.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.001519/0.1272, allocations: 0.5765 MB / 0.5579 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.133e-05/0.1272, allocations: 0 / 0.5579 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.1273, allocations: 0 / 0.5579 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.1273, allocations: 4 kB / 0.5579 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.77e-05/0.1273, allocations: 7.938 kB / 0.558 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.1273, allocations: 3.938 kB / 0.558 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.1445, allocations: 2.539 MB / 0.5604 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.1445, allocations: 0 / 0.5604 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.1445, allocations: 0 / 0.5604 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1449, allocations: 163.6 kB / 0.5606 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1449, allocations: 3.984 kB / 0.5606 GB, free: 1.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1449, allocations: 3.938 kB / 0.5606 GB, free: 1.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1449, allocations: 4 kB / 0.5606 GB, free: 1.906 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.0003983/0.1453, allocations: 373 kB / 0.561 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1453, allocations: 12.03 kB / 0.561 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1454, allocations: 34.75 kB / 0.561 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.1454, allocations: 0.9375 kB / 0.561 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1455, allocations: 160.4 kB / 0.5612 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1455, allocations: 4.375 kB / 0.5612 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1455, allocations: 4.375 kB / 0.5612 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.1456, allocations: 30.25 kB / 0.5612 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1456, allocations: 11.88 kB / 0.5612 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1456, allocations: 0 / 0.5612 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1456, allocations: 4 kB / 0.5612 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.1457, allocations: 3.938 kB / 0.5612 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1458, allocations: 141.7 kB / 0.5613 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.1459, allocations: 22.61 kB / 0.5614 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.1459, allocations: 8.844 kB / 0.5614 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.1459, allocations: 0 / 0.5614 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.1459, allocations: 60.27 kB / 0.5614 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1459, allocations: 0 / 0.5614 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.1461, allocations: 67.34 kB / 0.5615 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1462, allocations: 81.11 kB / 0.5616 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.1462, allocations: 101.8 kB / 0.5617 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1462, allocations: 25.7 kB / 0.5617 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1463, allocations: 80.14 kB / 0.5618 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.1463, allocations: 4.125 kB / 0.5618 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1463, allocations: 9.719 kB / 0.5618 GB, free: 460 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1464, allocations: 314.8 kB / 0.5621 GB, free: 136 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1465, allocations: 4 kB / 0.5621 GB, free: 132 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.1465, allocations: 0 / 0.5621 GB, free: 132 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.1465, allocations: 64.27 kB / 0.5622 GB, free: 52 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1465, allocations: 0 / 0.5622 GB, free: 52 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.292e-05/0.1466, allocations: 67.42 kB / 0.5622 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.1466, allocations: 33.7 kB / 0.5622 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1467, allocations: 3.938 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1467, allocations: 0 / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.1467, allocations: 4 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1467, allocations: 0 / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.1467, allocations: 3.953 kB / 0.5623 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1467, allocations: 0 / 0.5623 GB, free: 15.92 MB / 430.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.589e-05/0.1468, allocations: 139.5 kB / 0.5624 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.1468, allocations: 0 / 0.5624 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.1468, allocations: 15.06 kB / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1468, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1468, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1468, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1469, allocations: 153.6 kB / 0.5626 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1469, allocations: 3.984 kB / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1469, allocations: 0 / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1469, allocations: 0 / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1469, allocations: 3.938 kB / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1469, allocations: 0 / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1469, allocations: 0 / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.147, allocations: 98.77 kB / 0.5627 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.1471, allocations: 81.05 kB / 0.5627 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1471, allocations: 11.94 kB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.1471, allocations: 0 / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-06/0.1471, allocations: 0 / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1471, allocations: 0 / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.302e-05/0.1472, allocations: 79.31 kB / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1472, allocations: 0 / 0.5628 GB, free: 15.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1475, allocations: 71.86 kB / 0.5629 GB, free: 15.17 MB / 430.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.001256/0.1487, allocations: 0.9192 MB / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.1488, allocations: 63.34 kB / 0.5638 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1488, allocations: 0 / 0.5638 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1489, allocations: 59.39 kB / 0.5639 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.149, allocations: 4 kB / 0.5639 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.1493, allocations: 130.6 kB / 0.564 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1496, allocations: 0.6769 MB / 0.5647 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.1496, allocations: 0 / 0.5647 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.1496, allocations: 7.438 kB / 0.5647 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1496, allocations: 4 kB / 0.5647 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.1765, allocations: 3.141 MB / 0.5678 GB, free: 10.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.24, allocations: 4.062 kB / 0.5678 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 652] (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.175845734775066] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.307730719912797 8.323602254 8.175520486 Calling exit ...