Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008551/0.0008549, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008848/0.0008848, allocations: 205.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.197/0.197, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000672/0.1121, allocations: 261.3 kB / 483.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.1129, allocations: 426.9 kB / 483.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.113, allocations: 3.938 kB / 483.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.113, allocations: 3.938 kB / 483.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.113, allocations: 0 / 483.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.1134, allocations: 107.8 kB / 484 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.1135, allocations: 23.98 kB / 484 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1135, allocations: 3.938 kB / 484 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.307e-05/0.1136, allocations: 15.98 kB / 484 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.1136, allocations: 27.84 kB / 484 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1136, allocations: 4 kB / 484 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1139, allocations: 155.8 kB / 484.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.1139, allocations: 8 kB / 484.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.114, allocations: 45.56 kB / 484.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1142, allocations: 119.8 kB / 484.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1142, allocations: 8 kB / 484.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1142, allocations: 0 / 484.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1142, allocations: 0 / 484.4 MB, free: 2.879 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003603/0.1146, allocations: 351.8 kB / 484.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1146, allocations: 8.875 kB / 484.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1147, allocations: 42.73 kB / 484.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1147, allocations: 4.844 kB / 484.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1148, allocations: 172.3 kB / 484.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1149, allocations: 4.375 kB / 484.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1149, allocations: 8.375 kB / 484.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.115, allocations: 73.48 kB / 485 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1151, allocations: 7.891 kB / 485 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1151, allocations: 0 / 485 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1151, allocations: 4 kB / 485 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.1152, allocations: 39.97 kB / 485.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1153, allocations: 177.6 kB / 485.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1155, allocations: 94.42 kB / 485.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.1155, allocations: 28.84 kB / 485.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.1158, allocations: 109.1 kB / 485.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1159, allocations: 34.5 kB / 485.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1159, allocations: 0 / 485.5 MB, free: 1.559 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1421/0.258, allocations: 5.851 MB / 491.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2581, allocations: 59.39 kB / 491.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.2582, allocations: 89.86 kB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.2582, allocations: 29.83 kB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.2582, allocations: 84.52 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.2583, allocations: 78.86 kB / 491.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.2584, allocations: 21.7 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2585, allocations: 322.8 kB / 492 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.2589, allocations: 135.9 kB / 492.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2593, allocations: 139.8 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.2608, allocations: 379.7 kB / 492.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2608, allocations: 3.938 kB / 492.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001253/0.2621, allocations: 397.3 kB / 493.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2621, allocations: 4 kB / 493.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2621, allocations: 3.984 kB / 493.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2621, allocations: 8 kB / 493.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.2625, allocations: 87.86 kB / 493.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2625, allocations: 0 / 493.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.2627, allocations: 43.91 kB / 493.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.2628, allocations: 19.97 kB / 493.2 MB, free: 9.75 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 (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.0001093/0.2629, allocations: 117.8 kB / 493.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.2629, allocations: 11.84 kB / 493.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2644, allocations: 477.8 kB / 493.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2644, allocations: 0 / 493.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2644, allocations: 0 / 493.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2645, allocations: 3.938 kB / 493.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.2667, allocations: 0.8666 MB / 494.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2668, allocations: 0 / 494.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2671, allocations: 95.92 kB / 494.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.2671, allocations: 4 kB / 494.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.2671, allocations: 15.98 kB / 494.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2671, allocations: 0 / 494.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2671, allocations: 0 / 494.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.2684, allocations: 481.9 kB / 495.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.2684, allocations: 85.02 kB / 495.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.2684, allocations: 4 kB / 495.4 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2687, allocations: 35.97 kB / 495.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.2687, allocations: 19.97 kB / 495.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2687, allocations: 12 kB / 495.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.2688, allocations: 83.22 kB / 495.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.2688, allocations: 0 / 495.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001597/0.2704, allocations: 0.6327 MB / 496.1 MB, free: 6.711 MB / 366.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.004686/0.2751, allocations: 1.195 MB / 497.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008405/0.2759, allocations: 315.6 kB / 497.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2759, allocations: 0 / 497.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.2763, allocations: 155.9 kB / 497.8 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2766, allocations: 12 kB / 497.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.2785, allocations: 0.4947 MB / 498.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2787, allocations: 0.6973 MB / 499 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.279, allocations: 73.08 kB / 499.1 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.2792, allocations: 63.39 kB / 499.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2792, allocations: 3.938 kB / 499.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2737/0.5529, allocations: 54.81 MB / 0.541 GB, free: 16.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.553, allocations: 220.4 kB / 0.5412 GB, free: 15.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.593, allocations: 0 / 0.5412 GB, free: 15.86 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches