Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008719/0.0008718, allocations: 178.6 kB / 16.91 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2653/0.2653, allocations: 43.57 MB / 315 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005118, allocations: 14.97 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09148, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005176/0.09204, allocations: 276.2 kB / 443.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.09271, allocations: 430.3 kB / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.09274, allocations: 0 / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.09276, allocations: 0 / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.06e-05/0.09278, allocations: 0 / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.09311, allocations: 111.7 kB / 444.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.09317, allocations: 19.98 kB / 444.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.09321, allocations: 4 kB / 444.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.09324, allocations: 23.91 kB / 444.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.09329, allocations: 19.86 kB / 444.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.0933, allocations: 4 kB / 444.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.09353, allocations: 159.8 kB / 444.6 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.09355, allocations: 15.92 kB / 444.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.09359, allocations: 41.62 kB / 444.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.09377, allocations: 128 kB / 444.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09379, allocations: 3.938 kB / 444.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09379, allocations: 0 / 444.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.0938, allocations: 0 / 444.8 MB, free: 11.37 MB / 382.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.0002884/0.09409, allocations: 351.5 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.09413, allocations: 12.03 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.09417, allocations: 38.73 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.0942, allocations: 8.844 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.09428, allocations: 164.3 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.0943, allocations: 12.38 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.09433, allocations: 4.375 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.09445, allocations: 73.97 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.09446, allocations: 0 / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.09448, allocations: 4 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.09449, allocations: 0 / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.09457, allocations: 47.89 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.09471, allocations: 169.6 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.09483, allocations: 86.55 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.09488, allocations: 28.84 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.09512, allocations: 109.1 kB / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.09515, allocations: 38.5 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.09516, allocations: 4 kB / 445.9 MB, free: 10.05 MB / 382.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.134/0.2292, allocations: 5.84 MB / 451.7 MB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2293, allocations: 55.41 kB / 451.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.2293, allocations: 89.86 kB / 451.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.2294, allocations: 37.83 kB / 451.9 MB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.2294, allocations: 80.52 kB / 452 MB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.2295, allocations: 82.83 kB / 452.1 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.2296, allocations: 17.72 kB / 452.1 MB, free: 3.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.2297, allocations: 326.8 kB / 452.4 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.23, allocations: 131.9 kB / 452.5 MB, free: 3.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.2304, allocations: 143.8 kB / 452.7 MB, free: 3.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2317, allocations: 373.2 kB / 453 MB, free: 2.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2318, allocations: 0 / 453 MB, free: 2.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001141/0.2329, allocations: 401 kB / 453.4 MB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2329, allocations: 11.98 kB / 453.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2329, allocations: 4 kB / 453.4 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.233, allocations: 3.938 kB / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.2333, allocations: 83.92 kB / 453.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2333, allocations: 4 kB / 453.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2335, allocations: 43.89 kB / 453.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.2336, allocations: 15.98 kB / 453.6 MB, free: 2.246 MB / 382.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 9.18e-05/0.2337, allocations: 121.8 kB / 453.7 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.2337, allocations: 7.906 kB / 453.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.2351, allocations: 481.8 kB / 454.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2351, allocations: 4 kB / 454.2 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2351, allocations: 3.938 kB / 454.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2351, allocations: 3.938 kB / 454.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.2372, allocations: 0.8626 MB / 455.1 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2372, allocations: 64 / 455.1 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.2375, allocations: 87.92 kB / 455.1 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2375, allocations: 0 / 455.1 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2375, allocations: 15.98 kB / 455.2 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2375, allocations: 3.938 kB / 455.2 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2375, allocations: 8 kB / 455.2 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2386, allocations: 468.7 kB / 455.6 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1562/0.3948, allocations: 83.47 kB / 455.7 MB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.3949, allocations: 2.312 kB / 455.7 MB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3951, allocations: 41.61 kB / 455.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.3952, allocations: 13.69 kB / 455.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.3952, allocations: 13.64 kB / 455.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.3952, allocations: 86.53 kB / 455.9 MB, free: 44.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.3953, allocations: 0 / 455.9 MB, free: 44.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001442/0.3967, allocations: 0.6346 MB / 456.5 MB, free: 44.85 MB / 382.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.004081/0.4008, allocations: 1.205 MB / 457.7 MB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000722/0.4015, allocations: 308.2 kB / 458 MB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4015, allocations: 0 / 458 MB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.4019, allocations: 152.6 kB / 458.2 MB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.4021, allocations: 12.28 kB / 458.2 MB, free: 44.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4037, allocations: 0.5 MB / 458.7 MB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.4038, allocations: 0.6992 MB / 459.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.404, allocations: 76.16 kB / 459.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4042, allocations: 60.5 kB / 459.5 MB, free: 43.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4042, allocations: 0 / 459.5 MB, free: 43.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9639/1.368, allocations: 54.84 MB / 0.5023 GB, free: 18.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.368, allocations: 214.7 kB / 0.5025 GB, free: 18.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/4.4, allocations: 0 / 0.5025 GB, free: 18.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches