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.001958/0.001958, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002389/0.002389, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.437/1.437, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2482/0.2482, allocations: 46.92 MB / 361.6 MB, free: 4.195 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: 80.05 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 66.07 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001789/0.3089, allocations: 0.5072 MB / 0.562 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003504/0.3093, allocations: 103.7 kB / 0.5621 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.3093, allocations: 0 / 0.5621 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.3093, allocations: 0 / 0.5621 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3095, allocations: 11.92 kB / 0.5621 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.21e-05/0.3096, allocations: 7.969 kB / 0.5621 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.3096, allocations: 8 kB / 0.5621 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.3097, allocations: 4 kB / 0.5621 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.3097, allocations: 4 kB / 0.5621 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.3097, allocations: 3.938 kB / 0.5621 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.3097, allocations: 0 / 0.5621 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.3098, allocations: 27.91 kB / 0.5621 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.3098, allocations: 0 / 0.5621 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.3098, allocations: 7.938 kB / 0.5622 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.279e-05/0.3099, allocations: 18.22 kB / 0.5622 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3099, allocations: 0 / 0.5622 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3099, allocations: 0 / 0.5622 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3099, allocations: 0 / 0.5622 GB, free: 3.766 MB / 398.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.000306/0.3102, allocations: 254.4 kB / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3103, allocations: 8.031 kB / 0.5624 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3103, allocations: 30.75 kB / 0.5625 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.3103, allocations: 4.938 kB / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3104, allocations: 102.5 kB / 0.5626 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3104, allocations: 4.375 kB / 0.5626 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3105, allocations: 4.375 kB / 0.5626 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.3105, allocations: 34.25 kB / 0.5626 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3106, allocations: 3.938 kB / 0.5626 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.3106, allocations: 7.938 kB / 0.5626 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.3106, allocations: 0 / 0.5626 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.3106, allocations: 11.98 kB / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.3108, allocations: 124.7 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3109, allocations: 34.61 kB / 0.5628 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.311, allocations: 12.86 kB / 0.5628 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.3113, allocations: 44.03 kB / 0.5628 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3113, allocations: 38.5 kB / 0.5629 GB, free: 2.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3113, allocations: 3.938 kB / 0.5629 GB, free: 2.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00124/0.3126, allocations: 189.3 kB / 0.563 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3126, allocations: 55.34 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.3127, allocations: 89.86 kB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3127, allocations: 25.7 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3128, allocations: 88.12 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3128, allocations: 11.91 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.3128, allocations: 17.72 kB / 0.5633 GB, free: 2.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.313, allocations: 319 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.3131, allocations: 19.98 kB / 0.5636 GB, free: 2.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.3131, allocations: 15.98 kB / 0.5637 GB, free: 2.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3133, allocations: 48.83 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3133, allocations: 0 / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.3135, allocations: 81.59 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3135, allocations: 11.94 kB / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3135, allocations: 0 / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3135, allocations: 0 / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3136, allocations: 12.23 kB / 0.5638 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3136, allocations: 4 kB / 0.5638 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.3137, allocations: 7.984 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3137, allocations: 4 kB / 0.5638 GB, free: 1.879 MB / 398.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 9.343e-05/0.3138, allocations: 114.7 kB / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.3138, allocations: 11.89 kB / 0.5639 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3141, allocations: 85.23 kB / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3141, allocations: 3.938 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3141, allocations: 0 / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3141, allocations: 0 / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.3148, allocations: 326.4 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3148, allocations: 3.938 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.3149, allocations: 15.98 kB / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3149, allocations: 0 / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3149, allocations: 4 kB / 0.5644 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3149, allocations: 0 / 0.5644 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3149, allocations: 4 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3152, allocations: 176.3 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.3152, allocations: 15.88 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3152, allocations: 4 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.3153, allocations: 7.938 kB / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.3153, allocations: 11.92 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3153, allocations: 4 kB / 0.5646 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.3153, allocations: 75.28 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3153, allocations: 0 / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.3156, allocations: 15.94 kB / 0.5647 GB, free: 0.9258 MB / 398.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.0005906/0.3162, allocations: 0.7056 MB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3164, allocations: 52.08 kB / 0.5654 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3164, allocations: 0 / 0.5654 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.701e-05/0.3164, allocations: 27.97 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.3166, allocations: 432 / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.3172, allocations: 167.6 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3175, allocations: 0.6768 MB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.224e-05/0.3176, allocations: 8 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3176, allocations: 15.44 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3176, allocations: 0 / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.3384, allocations: 1.505 MB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.042, allocations: 14.3 kB / 0.5678 GB, free: 13.73 MB / 414.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.789314589928836] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'yRegStep', 'yRegStep_der'] 8.107953070197254 8.123783196 7.810910285 Calling exit ...