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.001225/0.001225, allocations: 103.6 kB / 16.4 MB, free: 6.504 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.001231/0.001231, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2244/0.2244, allocations: 43.52 MB / 314.1 MB, free: 436 kB / 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.00156/0.00156, allocations: 63.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1089, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001881/0.1109, allocations: 0.5377 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.1117, allocations: 425.5 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.1118, allocations: 4 kB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.1118, allocations: 0 / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.043e-05/0.1119, allocations: 3.938 kB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.1124, allocations: 131.6 kB / 0.4884 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.1125, allocations: 31.97 kB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1125, allocations: 8 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1126, allocations: 11.94 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.1127, allocations: 23.91 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1127, allocations: 4 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.1129, allocations: 163.8 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.113, allocations: 7.922 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.113, allocations: 19.92 kB / 0.4887 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1132, allocations: 127.7 kB / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1132, allocations: 0 / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1132, allocations: 0 / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1132, allocations: 0 / 0.4888 GB, free: 10.81 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.0004174/0.1137, allocations: 371.4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1137, allocations: 11.89 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.1138, allocations: 42.73 kB / 0.4892 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.1138, allocations: 4.844 kB / 0.4892 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.114, allocations: 168.3 kB / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.114, allocations: 384 / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.114, allocations: 8.375 kB / 0.4894 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1142, allocations: 73.92 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1142, allocations: 3.984 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1142, allocations: 4 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1142, allocations: 4 kB / 0.4895 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.1143, allocations: 39.97 kB / 0.4895 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.1145, allocations: 185.4 kB / 0.4897 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1147, allocations: 82.55 kB / 0.4898 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.1147, allocations: 32.84 kB / 0.4898 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.115, allocations: 101.1 kB / 0.4899 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1151, allocations: 38.5 kB / 0.4899 GB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1151, allocations: 0 / 0.4899 GB, free: 9.473 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.1345/0.2496, allocations: 5.618 MB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2497, allocations: 55.41 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.2497, allocations: 93.8 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2498, allocations: 29.7 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.2498, allocations: 80.52 kB / 0.4957 GB, free: 3.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.2499, allocations: 78.84 kB / 0.4958 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.25, allocations: 57.67 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2501, allocations: 330.9 kB / 0.4961 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.2505, allocations: 107.9 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2508, allocations: 119.8 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.2522, allocations: 316.6 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2522, allocations: 4 kB / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001145/0.2533, allocations: 353.7 kB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2534, allocations: 11.98 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2534, allocations: 0 / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2534, allocations: 3.938 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.2538, allocations: 75.92 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2538, allocations: 0 / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.254, allocations: 35.89 kB / 0.4971 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.254, allocations: 15.98 kB / 0.4971 GB, free: 2.023 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 0.0001065/0.2541, allocations: 129.7 kB / 0.4972 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.2542, allocations: 7.906 kB / 0.4973 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2555, allocations: 433.8 kB / 0.4977 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2555, allocations: 0 / 0.4977 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2555, allocations: 4 kB / 0.4977 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2556, allocations: 7.922 kB / 0.4977 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.2577, allocations: 0.7805 MB / 0.4984 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2577, allocations: 3.938 kB / 0.4984 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.258, allocations: 71.92 kB / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.258, allocations: 8.062 kB / 0.4985 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.2581, allocations: 15.98 kB / 0.4985 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2581, allocations: 0 / 0.4985 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2581, allocations: 0 / 0.4985 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2592, allocations: 432.6 kB / 0.4989 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.2593, allocations: 81.02 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.2593, allocations: 11.94 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2595, allocations: 23.97 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.2595, allocations: 19.97 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2595, allocations: 12 kB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.189e-05/0.2596, allocations: 79.27 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2596, allocations: 0 / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001522/0.2611, allocations: 0.621 MB / 0.4998 GB, free: 15.18 MB / 398.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.004505/0.2656, allocations: 1.14 MB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008209/0.2665, allocations: 267.7 kB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2665, allocations: 0 / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.2668, allocations: 131.8 kB / 0.5013 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.2671, allocations: 12 kB / 0.5013 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2688, allocations: 429.5 kB / 0.5017 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2691, allocations: 0.7008 MB / 0.5024 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.2693, allocations: 73.08 kB / 0.5024 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.2695, allocations: 67.38 kB / 0.5025 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2695, allocations: 3.938 kB / 0.5025 GB, free: 12.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2863/0.5558, allocations: 55.11 MB / 0.5563 GB, free: 25.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.692, allocations: 16.22 kB / 0.5563 GB, free: 25.3 MB / 414.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