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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 122.1 kB / 17.84 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3627/0.3627, allocations: 44.23 MB / 327.3 MB, free: 6.75 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 71.88 kB / 462.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3075, allocations: 61 MB / 0.5116 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001897/0.3094, allocations: 0.5415 MB / 0.5122 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.3102, allocations: 416.9 kB / 0.5126 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.3102, allocations: 5.062 kB / 0.5126 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.3103, allocations: 0 / 0.5126 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.3103, allocations: 3.938 kB / 0.5126 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3108, allocations: 142 kB / 0.5127 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.3109, allocations: 21.73 kB / 0.5127 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.3109, allocations: 2.094 kB / 0.5127 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.3109, allocations: 15.41 kB / 0.5127 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.311, allocations: 26.97 kB / 0.5128 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.311, allocations: 6.625 kB / 0.5128 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.3113, allocations: 167.2 kB / 0.5129 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3113, allocations: 11.28 kB / 0.5129 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.3113, allocations: 16.64 kB / 0.513 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3115, allocations: 130.9 kB / 0.5131 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3115, allocations: 0 / 0.5131 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3115, allocations: 1.875 kB / 0.5131 GB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3115, allocations: 0 / 0.5131 GB, free: 12.08 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.0003632/0.3119, allocations: 361.3 kB / 0.5134 GB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3119, allocations: 14.33 kB / 0.5134 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.161e-05/0.312, allocations: 9.375 kB / 0.5134 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.419e-05/0.312, allocations: 40.48 kB / 0.5135 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.312, allocations: 7.547 kB / 0.5135 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.843e-05/0.3121, allocations: 170.8 kB / 0.5137 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3121, allocations: 3.812 kB / 0.5137 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.3121, allocations: 8.156 kB / 0.5137 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3123, allocations: 71.52 kB / 0.5137 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3123, allocations: 3.953 kB / 0.5137 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3123, allocations: 0 / 0.5137 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3123, allocations: 6.625 kB / 0.5137 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.3124, allocations: 50.11 kB / 0.5138 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3126, allocations: 167.6 kB / 0.514 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3127, allocations: 75.2 kB / 0.514 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.3127, allocations: 30.19 kB / 0.5141 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.313, allocations: 104.3 kB / 0.5142 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.313, allocations: 44.06 kB / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.313, allocations: 3.938 kB / 0.5142 GB, free: 10.91 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.1296/0.4426, allocations: 5.625 MB / 0.5197 GB, free: 6.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.4427, allocations: 51.41 kB / 0.5197 GB, free: 6.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.4427, allocations: 101.8 kB / 0.5198 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4427, allocations: 29.7 kB / 0.5199 GB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.631e-05/0.4428, allocations: 80.52 kB / 0.5199 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.4428, allocations: 75.34 kB / 0.52 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.4429, allocations: 61.67 kB / 0.5201 GB, free: 6.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.443, allocations: 323 kB / 0.5204 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.4433, allocations: 111.9 kB / 0.5205 GB, free: 5.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.4436, allocations: 115.8 kB / 0.5206 GB, free: 5.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.4449, allocations: 316.6 kB / 0.5209 GB, free: 5.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4449, allocations: 0 / 0.5209 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001085/0.446, allocations: 361.6 kB / 0.5212 GB, free: 4.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.446, allocations: 9.406 kB / 0.5213 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.446, allocations: 4 kB / 0.5213 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.446, allocations: 0 / 0.5213 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.4464, allocations: 79.92 kB / 0.5213 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4464, allocations: 0 / 0.5213 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.4466, allocations: 39.77 kB / 0.5214 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.4466, allocations: 15.98 kB / 0.5214 GB, free: 4.699 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.855e-05/0.4467, allocations: 129.7 kB / 0.5215 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.4467, allocations: 7.953 kB / 0.5215 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.448, allocations: 429.8 kB / 0.5219 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.448, allocations: 4 kB / 0.5219 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.448, allocations: 3.938 kB / 0.5219 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.448, allocations: 3.938 kB / 0.5219 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.45, allocations: 0.7768 MB / 0.5227 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.45, allocations: 0 / 0.5227 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.4503, allocations: 71.94 kB / 0.5228 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4503, allocations: 0 / 0.5228 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4503, allocations: 20.05 kB / 0.5228 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4503, allocations: 4 kB / 0.5228 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4503, allocations: 3.938 kB / 0.5228 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4514, allocations: 420.8 kB / 0.5232 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.4514, allocations: 85.06 kB / 0.5233 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4514, allocations: 4 kB / 0.5233 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4516, allocations: 35.95 kB / 0.5233 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.4516, allocations: 11.98 kB / 0.5233 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4516, allocations: 15.98 kB / 0.5233 GB, free: 2.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.4517, allocations: 79.28 kB / 0.5234 GB, free: 2.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4517, allocations: 0 / 0.5234 GB, free: 2.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001603/0.4533, allocations: 0.6245 MB / 0.524 GB, free: 1.863 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.004527/0.4578, allocations: 1.151 MB / 0.5252 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.4586, allocations: 259.7 kB / 0.5254 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4586, allocations: 0 / 0.5254 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.4589, allocations: 127.8 kB / 0.5255 GB, free: 308 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4592, allocations: 4 kB / 0.5255 GB, free: 304 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.461, allocations: 436.5 kB / 0.5259 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4613, allocations: 0.7009 MB / 0.5266 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.4616, allocations: 77.08 kB / 0.5267 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4617, allocations: 55.39 kB / 0.5268 GB, free: 14.96 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4617, allocations: 0 / 0.5268 GB, free: 14.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09323/0.555, allocations: 55.11 MB / 0.5806 GB, free: 7.621 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.227, allocations: 15.89 kB / 0.5806 GB, free: 7.605 MB / 446.1 MB " [Timeout remaining time 651] (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 --stepSize=0.0004 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.30329636100214]