Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001822/0.001822, allocations: 122.7 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.002366/0.002366, 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2325/0.2325, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.002263/0.002263, allocations: 75.88 kB / 0.4912 GB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1313, allocations: 65.98 MB / 0.5556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001743/0.133, allocations: 0.5022 MB / 0.5561 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.1334, allocations: 99.7 kB / 0.5562 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.1334, allocations: 0 / 0.5562 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.1334, allocations: 3.938 kB / 0.5562 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1336, allocations: 15.98 kB / 0.5562 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.979e-05/0.1336, allocations: 7.922 kB / 0.5562 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.1337, allocations: 4 kB / 0.5562 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.1337, allocations: 0.5312 kB / 0.5562 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.1337, allocations: 7.922 kB / 0.5563 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.1338, allocations: 8 kB / 0.5563 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.1338, allocations: 0 / 0.5563 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.1339, allocations: 23.97 kB / 0.5563 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.1339, allocations: 4 kB / 0.5563 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.1339, allocations: 3.938 kB / 0.5563 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.134, allocations: 19.91 kB / 0.5563 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.134, allocations: 0 / 0.5563 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.134, allocations: 0 / 0.5563 GB, free: 5.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.134, allocations: 0 / 0.5563 GB, free: 5.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003523/0.1344, allocations: 323.5 kB / 0.5566 GB, free: 5.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1344, allocations: 16.03 kB / 0.5566 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1344, allocations: 34.69 kB / 0.5567 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.1345, allocations: 0.9375 kB / 0.5567 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1346, allocations: 164.4 kB / 0.5568 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1346, allocations: 4.375 kB / 0.5568 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1346, allocations: 4.375 kB / 0.5568 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.1347, allocations: 30.27 kB / 0.5569 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1347, allocations: 3.938 kB / 0.5569 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.1347, allocations: 0 / 0.5569 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1347, allocations: 0 / 0.5569 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.1348, allocations: 15.98 kB / 0.5569 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.1349, allocations: 149.7 kB / 0.557 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1351, allocations: 38.45 kB / 0.5571 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.1352, allocations: 16.94 kB / 0.5571 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/0.1355, allocations: 113.1 kB / 0.5572 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1355, allocations: 34.56 kB / 0.5572 GB, free: 4.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1355, allocations: 0 / 0.5572 GB, free: 4.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001272/0.1368, allocations: 197.3 kB / 0.5574 GB, free: 4.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1369, allocations: 55.39 kB / 0.5575 GB, free: 4.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.1369, allocations: 89.86 kB / 0.5575 GB, free: 4.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1369, allocations: 25.7 kB / 0.5576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.137, allocations: 84.08 kB / 0.5577 GB, free: 4.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.137, allocations: 15.91 kB / 0.5577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.137, allocations: 25.7 kB / 0.5577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1372, allocations: 311 kB / 0.558 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.1373, allocations: 23.98 kB / 0.558 GB, free: 3.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/0.1373, allocations: 15.98 kB / 0.558 GB, free: 3.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1375, allocations: 56.95 kB / 0.5581 GB, free: 3.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1375, allocations: 0 / 0.5581 GB, free: 3.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.1377, allocations: 77.59 kB / 0.5582 GB, free: 3.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1377, allocations: 5.719 kB / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1377, allocations: 4 kB / 0.5582 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1377, allocations: 4 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1378, allocations: 11.98 kB / 0.5582 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1378, allocations: 0 / 0.5582 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.1379, allocations: 7.984 kB / 0.5582 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1379, allocations: 4 kB / 0.5582 GB, free: 3.625 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.811e-05/0.138, allocations: 113.8 kB / 0.5583 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.138, allocations: 7.891 kB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.1383, allocations: 93.2 kB / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1383, allocations: 0 / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1383, allocations: 0 / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1383, allocations: 0 / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.139, allocations: 359.3 kB / 0.5587 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.139, allocations: 0 / 0.5587 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.1391, allocations: 11.98 kB / 0.5587 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1391, allocations: 4 kB / 0.5588 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1391, allocations: 3.938 kB / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1391, allocations: 128 / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1391, allocations: 7.938 kB / 0.5588 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1394, allocations: 184.3 kB / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.1394, allocations: 81.06 kB / 0.559 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1394, allocations: 4 kB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1395, allocations: 7.984 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.1395, allocations: 4 kB / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1395, allocations: 0 / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.1396, allocations: 83.28 kB / 0.5591 GB, free: 2.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1396, allocations: 0 / 0.5591 GB, free: 2.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1398, allocations: 11.94 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.000605/0.1404, allocations: 0.7172 MB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1406, allocations: 43.95 kB / 0.5599 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1406, allocations: 3.938 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.1407, allocations: 27.92 kB / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1409, allocations: 0 / 0.5599 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.1415, allocations: 166.6 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1418, allocations: 0.6729 MB / 0.5607 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1419, allocations: 8 kB / 0.5607 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.1419, allocations: 19.42 kB / 0.5607 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1419, allocations: 0 / 0.5607 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.1649, allocations: 1.496 MB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.895, allocations: 11.94 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.787611639127135] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'yRegStep', 'yRegStep_der'] 7.959701654035598 7.980834892 7.843016147 Calling exit ...