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.001124/0.001124, allocations: 104.3 kB / 16.27 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 191.4 kB / 17.2 MB, free: 5.652 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.315/1.315, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2221/0.2221, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001588/0.001588, allocations: 68.83 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09381, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001811/0.09567, allocations: 0.5337 MB / 441.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.09646, allocations: 407.3 kB / 441.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.09651, allocations: 0 / 441.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.09654, allocations: 7.875 kB / 441.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.864e-05/0.0966, allocations: 7.938 kB / 441.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.09714, allocations: 143.8 kB / 441.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.09721, allocations: 27.97 kB / 441.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.09728, allocations: 4 kB / 441.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.09731, allocations: 15.92 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.09737, allocations: 19.92 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.09739, allocations: 4 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.09764, allocations: 163.8 kB / 441.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.09766, allocations: 11.97 kB / 442 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.09769, allocations: 19.88 kB / 442 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.0979, allocations: 127.8 kB / 442.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09791, allocations: 0 / 442.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09792, allocations: 0 / 442.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09793, allocations: 0 / 442.1 MB, free: 5.34 MB / 318.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.0003404/0.09828, allocations: 371.3 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.09832, allocations: 11.89 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.09835, allocations: 38.75 kB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.09839, allocations: 4.844 kB / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.09847, allocations: 172.3 kB / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.09848, allocations: 4.375 kB / 442.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.09851, allocations: 8.375 kB / 442.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.09862, allocations: 65.98 kB / 442.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.09864, allocations: 4 kB / 442.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.09865, allocations: 0 / 442.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.09866, allocations: 0 / 442.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.09874, allocations: 43.95 kB / 442.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.09887, allocations: 181.5 kB / 443 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.09898, allocations: 90.11 kB / 443.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.09903, allocations: 32.84 kB / 443.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.09927, allocations: 97.08 kB / 443.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.09929, allocations: 42.5 kB / 443.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.0993, allocations: 0 / 443.2 MB, free: 4.012 MB / 318.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.1382/0.2375, allocations: 5.608 MB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.2376, allocations: 55.27 kB / 448.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.2377, allocations: 93.86 kB / 449 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2377, allocations: 29.7 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.2378, allocations: 84.64 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.2378, allocations: 74.91 kB / 449.2 MB, free: 14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.238, allocations: 65.67 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2381, allocations: 322.8 kB / 449.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.2384, allocations: 115.8 kB / 449.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.2388, allocations: 115.9 kB / 449.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2402, allocations: 317.1 kB / 450.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2402, allocations: 3.984 kB / 450.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00119/0.2414, allocations: 353.2 kB / 450.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2415, allocations: 11.94 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2415, allocations: 0 / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2415, allocations: 3.984 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.2419, allocations: 83.84 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2419, allocations: 0 / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2421, allocations: 31.91 kB / 450.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2422, allocations: 19.97 kB / 450.6 MB, free: 12.56 MB / 334.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.0001086/0.2423, allocations: 125.7 kB / 450.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.2423, allocations: 7.906 kB / 450.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.2438, allocations: 437.7 kB / 451.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2438, allocations: 4 kB / 451.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2438, allocations: 0 / 451.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2438, allocations: 3.938 kB / 451.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.246, allocations: 0.7845 MB / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.246, allocations: 0 / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.2463, allocations: 75.86 kB / 452 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2463, allocations: 4 kB / 452 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.2464, allocations: 15.98 kB / 452 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2464, allocations: 0 / 452 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2464, allocations: 0 / 452 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2475, allocations: 433 kB / 452.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.2476, allocations: 85.02 kB / 452.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2476, allocations: 8 kB / 452.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.2478, allocations: 23.97 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.2479, allocations: 11.98 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2479, allocations: 19.98 kB / 452.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.148e-05/0.2479, allocations: 83.22 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2479, allocations: 0 / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001636/0.2496, allocations: 0.6211 MB / 453.3 MB, free: 9.723 MB / 334.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.004566/0.2541, allocations: 1.135 MB / 454.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008241/0.255, allocations: 275.4 kB / 454.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.255, allocations: 4 kB / 454.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.2554, allocations: 132.4 kB / 454.8 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2556, allocations: 9.203 kB / 454.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2574, allocations: 421.1 kB / 455.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2576, allocations: 0.6931 MB / 456 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.258, allocations: 77.08 kB / 456 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2581, allocations: 63.31 kB / 456.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2581, allocations: 4 kB / 456.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08659/0.3447, allocations: 55.01 MB / 0.4991 GB, free: 15.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.156, allocations: 19.94 kB / 0.4991 GB, free: 15.6 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches