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.001589/0.001589, allocations: 122.6 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.001716/0.001716, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.06 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.2342/0.2342, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.002297/0.002297, allocations: 75.88 kB / 0.4916 GB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1433, allocations: 66.05 MB / 0.5561 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.00171/0.1451, allocations: 490.4 kB / 0.5566 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1472, allocations: 1.274 MB / 0.5578 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1472, allocations: 0 / 0.5578 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1472, allocations: 4 kB / 0.5579 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1474, allocations: 15.94 kB / 0.5579 GB, free: 3.84 MB / 414.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.001136/0.1485, allocations: 247.2 kB / 0.5581 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.1486, allocations: 8 kB / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.1486, allocations: 0 / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.1486, allocations: 0 / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.757e-05/0.1487, allocations: 19.92 kB / 0.5581 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.1487, allocations: 0 / 0.5581 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.1528, allocations: 0.6952 MB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1529, allocations: 3.984 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1529, allocations: 4 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.1532, allocations: 175.5 kB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1532, allocations: 4 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1532, allocations: 4 kB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1532, allocations: 0 / 0.559 GB, free: 2.816 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.0004521/0.1536, allocations: 388.8 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1537, allocations: 8.031 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.1537, allocations: 34.69 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.1537, allocations: 4.938 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1539, allocations: 164.4 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1539, allocations: 4.312 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.1539, allocations: 384 / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.505e-05/0.154, allocations: 34.27 kB / 0.5596 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.154, allocations: 3.938 kB / 0.5596 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.154, allocations: 0 / 0.5596 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.154, allocations: 0 / 0.5596 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.154, allocations: 4 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.1542, allocations: 149.7 kB / 0.5598 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.1542, allocations: 26.48 kB / 0.5598 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.1543, allocations: 4.859 kB / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.1543, allocations: 4 kB / 0.5598 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.1543, allocations: 56.27 kB / 0.5598 GB, free: 1.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1543, allocations: 0 / 0.5598 GB, free: 1.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001763/0.1545, allocations: 75.39 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1546, allocations: 77.11 kB / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1547, allocations: 97.84 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1547, allocations: 25.95 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1547, allocations: 88.12 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.1547, allocations: 0 / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1548, allocations: 17.72 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1549, allocations: 314.8 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-06/0.1549, allocations: 0 / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.1549, allocations: 4 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.155, allocations: 60.27 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.155, allocations: 4.062 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.125e-05/0.1551, allocations: 71.34 kB / 0.5606 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1551, allocations: 33.64 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1551, allocations: 0 / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1551, allocations: 0 / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.1551, allocations: 0 / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1551, allocations: 0 / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.1551, allocations: 4 kB / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1551, allocations: 3.938 kB / 0.5607 GB, free: 0.8047 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 9.37e-05/0.1552, allocations: 143.5 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1552, allocations: 7.938 kB / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-06/0.1553, allocations: 3.125 kB / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1553, allocations: 0 / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1553, allocations: 0 / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1553, allocations: 0 / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1554, allocations: 153.7 kB / 0.561 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1554, allocations: 0 / 0.561 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.1554, allocations: 4 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1554, allocations: 3.938 kB / 0.561 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1554, allocations: 7.984 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1554, allocations: 0 / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1554, allocations: 4 kB / 0.561 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.1555, allocations: 90.83 kB / 0.5611 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1556, allocations: 77.11 kB / 0.5611 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1556, allocations: 3.938 kB / 0.5612 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.1556, allocations: 0 / 0.5612 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.1556, allocations: 11.91 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1556, allocations: 4 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.1556, allocations: 75.28 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1556, allocations: 0 / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1559, allocations: 67.8 kB / 0.5613 GB, free: 56 kB / 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.001192/0.1571, allocations: 0.8469 MB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1572, allocations: 63.39 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1572, allocations: 0 / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.1573, allocations: 59.34 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1574, allocations: 0 / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1578, allocations: 134.5 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1581, allocations: 0.6768 MB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.947e-06/0.1581, allocations: 0 / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.1581, allocations: 11.56 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1581, allocations: 0 / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1867, allocations: 2.535 MB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.396, allocations: 7.969 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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: 11.577447640709579] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.464742430020124 8.480823471999999 8.324635332 Calling exit ...