Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2517/0.2517, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1209, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005839/0.1215, allocations: 258.8 kB / 481.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000676/0.1222, allocations: 385.8 kB / 482.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.1223, allocations: 0 / 482.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.1223, allocations: 3.938 kB / 482.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.315e-05/0.1223, allocations: 0 / 482.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1227, allocations: 99.75 kB / 482.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.1228, allocations: 15.94 kB / 482.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1228, allocations: 0 / 482.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.725e-05/0.1228, allocations: 19.97 kB / 482.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.1229, allocations: 15.92 kB / 482.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1229, allocations: 3.938 kB / 482.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.1231, allocations: 147.8 kB / 482.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1232, allocations: 4 kB / 482.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1232, allocations: 25.7 kB / 482.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1233, allocations: 83.88 kB / 482.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1233, allocations: 8 kB / 482.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1233, allocations: 3.938 kB / 482.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1233, allocations: 0 / 482.6 MB, free: 4.207 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003522/0.1237, allocations: 359.5 kB / 482.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1237, allocations: 12.03 kB / 482.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.1238, allocations: 34.55 kB / 483 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.1238, allocations: 4 kB / 483 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.1239, allocations: 170.9 kB / 483.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1239, allocations: 8 kB / 483.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.124, allocations: 4 kB / 483.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1241, allocations: 61.61 kB / 483.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1241, allocations: 4 kB / 483.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1241, allocations: 0 / 483.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1241, allocations: 0 / 483.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.1242, allocations: 27.98 kB / 483.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1244, allocations: 173.6 kB / 483.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1246, allocations: 54.59 kB / 483.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1248, allocations: 117.1 kB / 483.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1249, allocations: 34.56 kB / 483.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1249, allocations: 0 / 483.6 MB, free: 2.977 MB / 350.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1353/0.2602, allocations: 6.628 MB / 490.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2602, allocations: 55.41 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.2603, allocations: 102 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.2604, allocations: 25.7 kB / 490.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.2604, allocations: 88.14 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.2605, allocations: 63.09 kB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2606, allocations: 0 / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2607, allocations: 322.8 kB / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.2612, allocations: 243.8 kB / 491.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.2618, allocations: 247.8 kB / 491.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2628, allocations: 291.8 kB / 491.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2628, allocations: 0 / 491.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001735/0.2645, allocations: 0.6479 MB / 492.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2646, allocations: 4 kB / 492.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2646, allocations: 64 / 492.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2646, allocations: 4 kB / 492.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.2652, allocations: 115.8 kB / 492.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2652, allocations: 8 kB / 492.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.2657, allocations: 31.91 kB / 492.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.2657, allocations: 27.95 kB / 492.5 MB, free: 10.02 MB / 366.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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.2659, allocations: 125.8 kB / 492.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2659, allocations: 7.906 kB / 492.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.268, allocations: 0.7555 MB / 493.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.268, allocations: 4 kB / 493.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.268, allocations: 0 / 493.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2681, allocations: 0 / 493.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.2719, allocations: 1.227 MB / 494.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2719, allocations: 4.141 kB / 494.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.2724, allocations: 111.8 kB / 494.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.2724, allocations: 3.938 kB / 494.7 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.2725, allocations: 32.42 kB / 494.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2725, allocations: 7.938 kB / 494.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2725, allocations: 0 / 494.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.2741, allocations: 0.6803 MB / 495.4 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2742, allocations: 89.02 kB / 495.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.2742, allocations: 11.89 kB / 495.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.2746, allocations: 35.95 kB / 495.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.2747, allocations: 11.98 kB / 495.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.2747, allocations: 31.95 kB / 495.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.2748, allocations: 87.28 kB / 495.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2748, allocations: 0 / 495.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001711/0.2765, allocations: 0.6484 MB / 496.3 MB, free: 5.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004821/0.2813, allocations: 1.823 MB / 498.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.2825, allocations: 486.1 kB / 498.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2825, allocations: 0 / 498.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.283, allocations: 212.1 kB / 498.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.2832, allocations: 8 kB / 498.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.2863, allocations: 0.6771 MB / 499.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2865, allocations: 0.7007 MB / 0.4885 GB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.2871, allocations: 124.9 kB / 0.4886 GB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.2874, allocations: 103.3 kB / 0.4887 GB, free: 1.703 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.2874, allocations: 0 / 0.4887 GB, free: 1.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.277/0.5643, allocations: 57.88 MB / 0.5453 GB, free: 12.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.5645, allocations: 190.8 kB / 0.5454 GB, free: 12.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.792, allocations: 0 / 0.5454 GB, free: 12.39 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat