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.001113/0.001113, allocations: 103.9 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001232, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 81.98 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001765/0.1184, allocations: 0.6049 MB / 480 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.1193, allocations: 426.9 kB / 480.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1193, allocations: 0 / 480.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.1194, allocations: 3.938 kB / 480.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.328e-05/0.1194, allocations: 0 / 480.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1199, allocations: 107.8 kB / 480.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.1199, allocations: 27.92 kB / 480.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.12, allocations: 4 kB / 480.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.12, allocations: 15.97 kB / 480.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.1201, allocations: 23.86 kB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1201, allocations: 0 / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.1204, allocations: 159.8 kB / 480.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.1204, allocations: 8 kB / 480.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1205, allocations: 23.84 kB / 480.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1207, allocations: 127.8 kB / 480.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1207, allocations: 0 / 480.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1207, allocations: 0 / 480.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1207, allocations: 4 kB / 480.9 MB, free: 4.117 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.0004435/0.1212, allocations: 359.8 kB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.1212, allocations: 12.88 kB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.1213, allocations: 34.73 kB / 481.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1213, allocations: 12.84 kB / 481.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1215, allocations: 164.3 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1215, allocations: 8.375 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1215, allocations: 12.31 kB / 481.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1217, allocations: 65.97 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1217, allocations: 7.844 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1217, allocations: 4 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1217, allocations: 0 / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1218, allocations: 47.95 kB / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.122, allocations: 165.7 kB / 481.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1222, allocations: 94.42 kB / 481.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.1222, allocations: 32.84 kB / 481.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.1225, allocations: 105.1 kB / 482 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1226, allocations: 34.5 kB / 482 MB, free: 2.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1226, allocations: 0 / 482 MB, free: 2.793 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.1341/0.2566, allocations: 5.613 MB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2567, allocations: 55.41 kB / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.2568, allocations: 93.84 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2568, allocations: 37.83 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.2569, allocations: 80.52 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.257, allocations: 70.86 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2571, allocations: 57.67 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2572, allocations: 326.8 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.2576, allocations: 111.9 kB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.2579, allocations: 111.9 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.2594, allocations: 339.4 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2594, allocations: 0 / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001246/0.2607, allocations: 353.2 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2607, allocations: 4 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2607, allocations: 0 / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.2607, allocations: 4 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.2612, allocations: 79.84 kB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2612, allocations: 8 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2614, allocations: 27.91 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.2614, allocations: 15.98 kB / 489.4 MB, free: 11.35 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.0001293/0.2616, allocations: 113.8 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2616, allocations: 7.906 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2631, allocations: 434.7 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2631, allocations: 3.984 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2631, allocations: 0 / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2631, allocations: 11.94 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.2654, allocations: 0.7801 MB / 490.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.2655, allocations: 4 kB / 490.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2657, allocations: 71.88 kB / 490.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.2658, allocations: 3.984 kB / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2658, allocations: 12 kB / 490.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2658, allocations: 4 kB / 490.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2658, allocations: 8.047 kB / 490.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.267, allocations: 428.7 kB / 491.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.2671, allocations: 85.02 kB / 491.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.2671, allocations: 7.984 kB / 491.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.2673, allocations: 27.91 kB / 491.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.2673, allocations: 15.98 kB / 491.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2674, allocations: 15.98 kB / 491.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.2674, allocations: 79.22 kB / 491.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2674, allocations: 3.938 kB / 491.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001726/0.2692, allocations: 0.6327 MB / 492.1 MB, free: 8.504 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.005011/0.2742, allocations: 1.135 MB / 493.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000797/0.275, allocations: 259.6 kB / 493.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.275, allocations: 4 kB / 493.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.2754, allocations: 127.8 kB / 493.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2756, allocations: 12 kB / 493.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.2775, allocations: 458.7 kB / 494.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2778, allocations: 0.6973 MB / 494.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.2781, allocations: 77.08 kB / 494.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2783, allocations: 63.39 kB / 494.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2783, allocations: 3.938 kB / 494.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2823/0.5606, allocations: 54.79 MB / 0.5368 GB, free: 19.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.5608, allocations: 219.5 kB / 0.537 GB, free: 19.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.755, allocations: 0 / 0.537 GB, free: 19.22 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