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.001711/0.001711, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001868/0.001868, allocations: 212.2 kB / 23.48 MB, free: 5.23 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.364/1.364, allocations: 230.2 MB / 256.8 MB, free: 8.566 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.2183/0.2183, allocations: 46.89 MB / 360 MB, free: 4.707 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.002263/0.002263, allocations: 79.86 kB / 0.4951 GB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3061, allocations: 65.99 MB / 0.5595 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001734/0.3078, allocations: 499.5 kB / 0.56 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3103, allocations: 1.42 MB / 0.5614 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.3103, allocations: 4 kB / 0.5614 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.3104, allocations: 0 / 0.5614 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.3104, allocations: 0 / 0.5614 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3115, allocations: 219.2 kB / 0.5616 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.3116, allocations: 7.984 kB / 0.5616 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.3116, allocations: 0 / 0.5616 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.3116, allocations: 4 kB / 0.5616 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.3117, allocations: 4 kB / 0.5616 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3117, allocations: 4 kB / 0.5616 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.3125, allocations: 291.5 kB / 0.5619 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.3125, allocations: 3.938 kB / 0.5619 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.3125, allocations: 0 / 0.5619 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3129, allocations: 153.5 kB / 0.562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3129, allocations: 0 / 0.562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3129, allocations: 0 / 0.562 GB, free: 2.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3129, allocations: 0 / 0.562 GB, free: 2.387 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.0005271/0.3134, allocations: 335.3 kB / 0.5623 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3135, allocations: 12.03 kB / 0.5624 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.3135, allocations: 38.69 kB / 0.5624 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3136, allocations: 4.938 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3137, allocations: 164.3 kB / 0.5626 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3137, allocations: 384 / 0.5626 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3138, allocations: 8.297 kB / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3139, allocations: 41.75 kB / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3139, allocations: 0 / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3139, allocations: 0 / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3139, allocations: 0 / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.3139, allocations: 8 kB / 0.5626 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.3142, allocations: 145.7 kB / 0.5628 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.3142, allocations: 22.59 kB / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.3142, allocations: 4.859 kB / 0.5628 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.3142, allocations: 0 / 0.5628 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3143, allocations: 42.5 kB / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.3143, allocations: 4 kB / 0.5628 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.3145, allocations: 33.7 kB / 0.5629 GB, free: 1.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3145, allocations: 55.41 kB / 0.5629 GB, free: 1.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3146, allocations: 93.84 kB / 0.563 GB, free: 1.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3146, allocations: 25.7 kB / 0.563 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.3147, allocations: 84.14 kB / 0.5631 GB, free: 1.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3147, allocations: 3.953 kB / 0.5631 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3148, allocations: 13.97 kB / 0.5631 GB, free: 1.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3149, allocations: 314.8 kB / 0.5634 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.3149, allocations: 4 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.315, allocations: 0 / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.315, allocations: 12.8 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.315, allocations: 0 / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.23e-05/0.3151, allocations: 41.62 kB / 0.5635 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3151, allocations: 4 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3151, allocations: 96 / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3151, allocations: 4 kB / 0.5635 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.3152, allocations: 4 kB / 0.5635 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3152, allocations: 0 / 0.5635 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.3152, allocations: 8 kB / 0.5635 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3152, allocations: 0 / 0.5635 GB, free: 0.6523 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 (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 0.0001003/0.3153, allocations: 109.8 kB / 0.5636 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.3153, allocations: 7.922 kB / 0.5636 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.3155, allocations: 44.77 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3155, allocations: 0 / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3155, allocations: 3.938 kB / 0.5637 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3155, allocations: 0 / 0.5637 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3156, allocations: 157.6 kB / 0.5638 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3157, allocations: 0 / 0.5638 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-06/0.3157, allocations: 3.938 kB / 0.5638 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3157, allocations: 0 / 0.5638 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3157, allocations: 0 / 0.5638 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3157, allocations: 8.031 kB / 0.5638 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3157, allocations: 0 / 0.5638 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.3158, allocations: 65.06 kB / 0.5639 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3158, allocations: 81.05 kB / 0.564 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3159, allocations: 0 / 0.564 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.316, allocations: 7.984 kB / 0.564 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.316, allocations: 0 / 0.564 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.316, allocations: 4.031 kB / 0.564 GB, free: 68 kB / 398.1 MB Notification: Performance of sorting global known variables: time 7.463e-05/0.316, allocations: 79.28 kB / 0.564 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.316, allocations: 0 / 0.564 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.3165, allocations: 35.94 kB / 0.5641 GB, free: 15.95 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.0007459/0.3172, allocations: 0.6359 MB / 0.5647 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3173, allocations: 11.92 kB / 0.5647 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3173, allocations: 0 / 0.5647 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.3174, allocations: 29.7 kB / 0.5647 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3176, allocations: 4 kB / 0.5647 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.3181, allocations: 130.6 kB / 0.5649 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3185, allocations: 0.669 MB / 0.5655 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.782e-05/0.3185, allocations: 12.11 kB / 0.5655 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3186, allocations: 11.42 kB / 0.5655 GB, free: 14.35 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3186, allocations: 0 / 0.5655 GB, free: 14.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3423, allocations: 1.86 MB / 0.5674 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.162, allocations: 9.578 kB / 0.5674 GB, free: 12.54 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.776139945955947] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.227659877156839 8.242234888 7.926209588 Calling exit ...