Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001632/0.001632, allocations: 110.5 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.002067/0.002067, allocations: 213.2 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.51/1.51, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2221/0.2221, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.002378/0.002378, allocations: 87.84 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3298, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001749/0.3315, allocations: 0.5454 MB / 0.562 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008151/0.3323, allocations: 414.8 kB / 0.5624 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.3324, allocations: 0 / 0.5624 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.3324, allocations: 3.938 kB / 0.5624 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.3324, allocations: 0 / 0.5624 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.3329, allocations: 147.3 kB / 0.5626 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.333, allocations: 31.92 kB / 0.5626 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.3331, allocations: 4 kB / 0.5626 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.3331, allocations: 15.92 kB / 0.5626 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.123e-05/0.3331, allocations: 19.92 kB / 0.5626 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3332, allocations: 0 / 0.5626 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.3334, allocations: 159.8 kB / 0.5628 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3335, allocations: 11.94 kB / 0.5628 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.3335, allocations: 23.84 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3337, allocations: 121.8 kB / 0.5629 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3337, allocations: 0 / 0.5629 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3337, allocations: 0 / 0.5629 GB, free: 2.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3337, allocations: 8 kB / 0.5629 GB, free: 2.805 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004195/0.3341, allocations: 294 kB / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3342, allocations: 12.03 kB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3342, allocations: 38.73 kB / 0.5633 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3343, allocations: 8.891 kB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3344, allocations: 102.5 kB / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3344, allocations: 4.375 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3344, allocations: 12.31 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3346, allocations: 73.91 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3346, allocations: 4 kB / 0.5635 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3346, allocations: 4 kB / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3346, allocations: 0 / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.3347, allocations: 43.95 kB / 0.5635 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.3349, allocations: 148.6 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.335, allocations: 78.48 kB / 0.5637 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3351, allocations: 24.84 kB / 0.5638 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.3353, allocations: 31.97 kB / 0.5638 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3353, allocations: 38.44 kB / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.3353, allocations: 0 / 0.5638 GB, free: 1.773 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1183/0.4536, allocations: 5.612 MB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4537, allocations: 63.2 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.4538, allocations: 97.8 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.4538, allocations: 29.69 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.4539, allocations: 84.52 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.4539, allocations: 71.34 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.4541, allocations: 65.8 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4542, allocations: 326.8 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.4546, allocations: 111.9 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.4549, allocations: 111.9 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.4562, allocations: 333 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4562, allocations: 0 / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00115/0.4574, allocations: 353.2 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4574, allocations: 8 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4574, allocations: 0 / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4574, allocations: 3.984 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.4578, allocations: 79.86 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4578, allocations: 0 / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.458, allocations: 31.89 kB / 0.571 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4581, allocations: 19.98 kB / 0.571 GB, free: 10.31 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 (23): * Single equations (assignments): 23 * 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.00011/0.4582, allocations: 117.8 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4582, allocations: 7.953 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.4595, allocations: 429.8 kB / 0.5715 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4595, allocations: 4 kB / 0.5716 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4595, allocations: 0 / 0.5716 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4595, allocations: 3.938 kB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.4617, allocations: 0.7523 MB / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.4617, allocations: 0 / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.462, allocations: 83.92 kB / 0.5724 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.462, allocations: 0 / 0.5724 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.462, allocations: 15.98 kB / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.462, allocations: 7.938 kB / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.462, allocations: 0 / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4631, allocations: 425.1 kB / 0.5728 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.4631, allocations: 11.94 kB / 0.5728 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.4632, allocations: 4 kB / 0.5728 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.4633, allocations: 27.97 kB / 0.5728 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.4634, allocations: 15.97 kB / 0.5729 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.4634, allocations: 15.98 kB / 0.5729 GB, free: 8.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.4634, allocations: 75.28 kB / 0.5729 GB, free: 8.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4634, allocations: 0 / 0.5729 GB, free: 8.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001486/0.4649, allocations: 0.6324 MB / 0.5736 GB, free: 7.602 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004172/0.4691, allocations: 1.147 MB / 0.5747 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007793/0.4699, allocations: 259.5 kB / 0.5749 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4699, allocations: 0 / 0.5749 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.4702, allocations: 127.8 kB / 0.575 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4705, allocations: 12.12 kB / 0.5751 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.472, allocations: 424.5 kB / 0.5755 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4724, allocations: 0.697 MB / 0.5761 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.4726, allocations: 73.09 kB / 0.5762 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.4727, allocations: 59.38 kB / 0.5763 GB, free: 4.711 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4727, allocations: 0 / 0.5763 GB, free: 4.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09417/0.5669, allocations: 55.2 MB / 0.6302 GB, free: 13.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.853, allocations: 3.938 kB / 0.6302 GB, free: 13.48 MB / 478.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.733711615670472] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y1', 'y1d', 'y1dd', 'y2', 'y2d', 'y2dd', 'y3', 'y3d', 'y3dd', 'y4', 'y4d', 'y4dd'] 8.938953088130802 8.967436788 8.628869433 Calling exit ...