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.001504/0.001504, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.11 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 72.33 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 62.44 MB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001953/0.1208, allocations: 0.602 MB / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.1217, allocations: 406.8 kB / 480.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.1217, allocations: 0 / 480.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.1218, allocations: 4 kB / 480.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.681e-05/0.1218, allocations: 0 / 480.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.1223, allocations: 123.8 kB / 480.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.1224, allocations: 35.92 kB / 480.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.1225, allocations: 4 kB / 480.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.1225, allocations: 11.97 kB / 480.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.1226, allocations: 23.86 kB / 480.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1226, allocations: 4 kB / 480.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1229, allocations: 159.8 kB / 480.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1229, allocations: 4 kB / 481 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.1229, allocations: 27.84 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1232, allocations: 128 kB / 481.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1232, allocations: 3.984 kB / 481.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1232, allocations: 4 kB / 481.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1232, allocations: 0 / 481.1 MB, free: 4.02 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.0004329/0.1237, allocations: 359.6 kB / 481.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1237, allocations: 8.031 kB / 481.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1237, allocations: 38.75 kB / 481.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1238, allocations: 8.781 kB / 481.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1239, allocations: 172.3 kB / 481.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1239, allocations: 384 / 481.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.124, allocations: 8.375 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1241, allocations: 73.97 kB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1241, allocations: 3.906 kB / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1242, allocations: 0 / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1242, allocations: 0 / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.1243, allocations: 51.89 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.1245, allocations: 165.7 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1246, allocations: 90.61 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1247, allocations: 36.84 kB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.125, allocations: 101.1 kB / 482.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.125, allocations: 38.5 kB / 482.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1251, allocations: 0 / 482.2 MB, free: 2.699 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.1328/0.2578, allocations: 5.621 MB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2579, allocations: 55.34 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.258, allocations: 93.86 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.258, allocations: 29.7 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2581, allocations: 84.52 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.2582, allocations: 75.03 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2583, allocations: 61.67 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2584, allocations: 318.8 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.2588, allocations: 111.9 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.2591, allocations: 115.9 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.2606, allocations: 331.4 kB / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2606, allocations: 0 / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001217/0.2618, allocations: 357.1 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2618, allocations: 8 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2618, allocations: 0 / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2619, allocations: 0 / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.2623, allocations: 79.91 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2623, allocations: 0 / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2625, allocations: 31.91 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.2625, allocations: 19.98 kB / 489.6 MB, free: 11.25 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.0001146/0.2627, allocations: 117.8 kB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.2627, allocations: 7.906 kB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2641, allocations: 429 kB / 490.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2642, allocations: 4 kB / 490.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2642, allocations: 0 / 490.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2642, allocations: 11.91 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.2664, allocations: 0.7882 MB / 490.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2665, allocations: 0 / 490.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2667, allocations: 71.92 kB / 491 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2668, allocations: 4 kB / 491 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.2668, allocations: 15.98 kB / 491 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2668, allocations: 3.938 kB / 491 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2668, allocations: 0 / 491 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.268, allocations: 428.7 kB / 491.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.268, allocations: 89 kB / 491.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.2681, allocations: 8 kB / 491.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2683, allocations: 19.97 kB / 491.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.2683, allocations: 15.98 kB / 491.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.2684, allocations: 15.98 kB / 491.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.2684, allocations: 83.22 kB / 491.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2684, allocations: 3.938 kB / 491.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001678/0.2701, allocations: 0.625 MB / 492.3 MB, free: 8.414 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.004717/0.2748, allocations: 1.139 MB / 493.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008014/0.2756, allocations: 265.1 kB / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2757, allocations: 0 / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.2761, allocations: 135.9 kB / 493.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.2763, allocations: 19.11 kB / 493.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2782, allocations: 456.8 kB / 494.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2785, allocations: 0.697 MB / 495 MB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.2788, allocations: 81.08 kB / 495.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.279, allocations: 59.39 kB / 495.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.279, allocations: 0 / 495.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2879/0.5669, allocations: 54.92 MB / 0.5372 GB, free: 19.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.5671, allocations: 227.2 kB / 0.5374 GB, free: 18.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.747, allocations: 0 / 0.5374 GB, free: 18.92 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