Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001708/0.001708, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002217/0.002217, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.43/1.43, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2282/0.2282, allocations: 46.92 MB / 361.6 MB, free: 4.219 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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.002276/0.002276, allocations: 79.86 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3155, allocations: 66.08 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001649/0.3172, allocations: 0.4989 MB / 0.562 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3191, allocations: 1.416 MB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.3191, allocations: 0 / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.3191, allocations: 0 / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.682e-05/0.3191, allocations: 0 / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.3198, allocations: 223.4 kB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.3199, allocations: 8 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.3199, allocations: 0 / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.3199, allocations: 11.97 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.32, allocations: 3.938 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.32, allocations: 4 kB / 0.5636 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.3205, allocations: 279.6 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.3205, allocations: 0 / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.3205, allocations: 4 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.3207, allocations: 145.6 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3207, allocations: 0 / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3207, allocations: 0 / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3208, allocations: 0 / 0.564 GB, free: 1.746 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003897/0.3211, allocations: 262.2 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3212, allocations: 11.97 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.3212, allocations: 30.75 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.3213, allocations: 8.938 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3214, allocations: 106.5 kB / 0.5644 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3214, allocations: 4.312 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.3214, allocations: 384 / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3215, allocations: 37.81 kB / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3215, allocations: 0 / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.3215, allocations: 0 / 0.5644 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3215, allocations: 4 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.3215, allocations: 7.938 kB / 0.5645 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.3217, allocations: 124.8 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.3217, allocations: 14.58 kB / 0.5646 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.3218, allocations: 12.95 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.3218, allocations: 0 / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3218, allocations: 34.5 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3218, allocations: 0 / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.3219, allocations: 37.73 kB / 0.5647 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.322, allocations: 55.44 kB / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.3221, allocations: 101.8 kB / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3221, allocations: 25.7 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.3221, allocations: 80.14 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3221, allocations: 3.953 kB / 0.5649 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3222, allocations: 13.72 kB / 0.5649 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3223, allocations: 310.8 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.3223, allocations: 4.125 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-06/0.3223, allocations: 0 / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.3224, allocations: 16.8 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3224, allocations: 0 / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.448e-05/0.3224, allocations: 41.62 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3224, allocations: 6.188 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3225, allocations: 0 / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3225, allocations: 4 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.3225, allocations: 96 / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3225, allocations: 4 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.3225, allocations: 0 / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3226, allocations: 3.938 kB / 0.5653 GB, free: 220 kB / 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 (1): * Single equations (assignments): 1 * 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.603e-05/0.3226, allocations: 114.7 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.3226, allocations: 3.938 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3228, allocations: 52.8 kB / 0.5655 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3228, allocations: 3.984 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3228, allocations: 0 / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3228, allocations: 4 kB / 0.5655 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.3229, allocations: 116.8 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.3229, allocations: 3.938 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-06/0.3229, allocations: 7.938 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3229, allocations: 3.938 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.3229, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3229, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3229, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.323, allocations: 61.16 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-06/0.323, allocations: 7.938 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.323, allocations: 4 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.3231, allocations: 11.92 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.3231, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3231, allocations: 4 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.48e-05/0.3232, allocations: 79.31 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3232, allocations: 0 / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3234, allocations: 39.94 kB / 0.5658 GB, free: 15.62 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: 0 () * Number of discrete states: 0 () * 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: 0 * Record equations: 1 * 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.0005485/0.324, allocations: 0.628 MB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.324, allocations: 20.05 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.324, allocations: 0 / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.3241, allocations: 29.7 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.3242, allocations: 0 / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.3246, allocations: 122.6 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3249, allocations: 0.669 MB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.72e-05/0.3249, allocations: 4 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.3249, allocations: 15.55 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3249, allocations: 0 / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.3474, allocations: 1.836 MB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.141, allocations: 15.05 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.852776260115206] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.208562778774649 8.225458091 7.901491927 Calling exit ...