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.001126/0.001126, allocations: 96.14 kB / 15.87 MB, free: 16 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.001147/0.001147, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.285/1.285, allocations: 205.1 MB / 222.6 MB, free: 4.793 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.287/0.287, allocations: 43.49 MB / 313.5 MB, free: 8.516 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.001349/0.00135, allocations: 67.91 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001534/0.1087, allocations: 0.6047 MB / 440.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.1094, allocations: 442.1 kB / 441 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.1095, allocations: 0 / 441 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1095, allocations: 0 / 441 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.1095, allocations: 0 / 441 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1099, allocations: 99.78 kB / 441.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.032e-05/0.1099, allocations: 27.92 kB / 441.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.11, allocations: 0 / 441.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.11, allocations: 23.91 kB / 441.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.11, allocations: 23.92 kB / 441.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1101, allocations: 0 / 441.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.1103, allocations: 159.8 kB / 441.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.1103, allocations: 11.94 kB / 441.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.1103, allocations: 19.91 kB / 441.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1105, allocations: 127.9 kB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1105, allocations: 0 / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1105, allocations: 3.938 kB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1105, allocations: 4 kB / 441.4 MB, free: 13.21 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.0003342/0.1109, allocations: 359.5 kB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1109, allocations: 16.03 kB / 441.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.111, allocations: 34.75 kB / 441.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.111, allocations: 8.844 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.1111, allocations: 164.3 kB / 442 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1111, allocations: 8.375 kB / 442 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1111, allocations: 4.375 kB / 442 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1113, allocations: 73.97 kB / 442.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1113, allocations: 7.938 kB / 442.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1113, allocations: 4 kB / 442.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1113, allocations: 4 kB / 442.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.1114, allocations: 43.94 kB / 442.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1116, allocations: 173.6 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1117, allocations: 78.55 kB / 442.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.1117, allocations: 32.84 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.112, allocations: 105.1 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.112, allocations: 54.38 kB / 442.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.434e-06/0.112, allocations: 0 / 442.6 MB, free: 11.88 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.1219/0.2339, allocations: 5.601 MB / 448.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.234, allocations: 55.41 kB / 448.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.2341, allocations: 93.8 kB / 448.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.2341, allocations: 33.7 kB / 448.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.2341, allocations: 80.52 kB / 448.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.2342, allocations: 78.84 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.2343, allocations: 57.67 kB / 448.6 MB, free: 5.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2344, allocations: 322.9 kB / 448.9 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.2347, allocations: 111.9 kB / 449 MB, free: 5.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.2351, allocations: 115.8 kB / 449.1 MB, free: 5.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.2364, allocations: 320.6 kB / 449.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2364, allocations: 0 / 449.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001106/0.2375, allocations: 365.6 kB / 449.8 MB, free: 4.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2375, allocations: 4 kB / 449.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2375, allocations: 0 / 449.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2376, allocations: 8 kB / 449.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.2379, allocations: 75.91 kB / 449.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.238, allocations: 4 kB / 449.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2382, allocations: 27.91 kB / 449.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.2382, allocations: 23.86 kB / 449.9 MB, free: 4.438 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.598e-05/0.2383, allocations: 125.8 kB / 450.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.2383, allocations: 7.906 kB / 450.1 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.2396, allocations: 433.8 kB / 450.5 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2397, allocations: 0 / 450.5 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2397, allocations: 0 / 450.5 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.2397, allocations: 11.92 kB / 450.5 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.2418, allocations: 0.7766 MB / 451.3 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2418, allocations: 4 kB / 451.3 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.2421, allocations: 75.98 kB / 451.4 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2421, allocations: 0 / 451.4 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.2421, allocations: 19.92 kB / 451.4 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2421, allocations: 4 kB / 451.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2421, allocations: 0 / 451.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2432, allocations: 420.8 kB / 451.8 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.2432, allocations: 93 kB / 451.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.2433, allocations: 0 / 451.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2435, allocations: 31.97 kB / 451.9 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.2435, allocations: 7.984 kB / 451.9 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2435, allocations: 19.98 kB / 451.9 MB, free: 2.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.2435, allocations: 83.16 kB / 452 MB, free: 2.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2436, allocations: 0 / 452 MB, free: 2.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001521/0.2451, allocations: 0.6327 MB / 452.6 MB, free: 1.594 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.004212/0.2493, allocations: 1.143 MB / 453.8 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007009/0.25, allocations: 264.3 kB / 454.1 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.25, allocations: 3.938 kB / 454.1 MB, free: 160 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.2503, allocations: 127.8 kB / 454.2 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2506, allocations: 12.12 kB / 454.2 MB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1525/0.4031, allocations: 455.8 kB / 454.6 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.452e-05/0.4032, allocations: 0.6951 MB / 455.3 MB, free: 46.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.4035, allocations: 76.75 kB / 455.4 MB, free: 46.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.4036, allocations: 56.56 kB / 455.5 MB, free: 46.67 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4036, allocations: 3.938 kB / 455.5 MB, free: 46.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.694/3.098, allocations: 54.79 MB / 0.4983 GB, free: 23.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/3.098, allocations: 219.3 kB / 0.4985 GB, free: 23.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/5.158, allocations: 4 kB / 0.4985 GB, free: 23.54 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