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.001679/0.001679, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.00206/0.00206, allocations: 213.6 kB / 23.77 MB, free: 4.551 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.448/1.448, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.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.2155/0.2155, allocations: 44.27 MB / 331.1 MB, free: 9.41 MB / 270.1 MB " [Timeout remaining time 180] 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.002989/0.002989, allocations: 65.78 kB / 468.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1421, allocations: 61.04 MB / 0.5169 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001809/0.1439, allocations: 0.5376 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.1447, allocations: 371.2 kB / 0.5178 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.1447, allocations: 4 kB / 0.5178 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.1447, allocations: 3.938 kB / 0.5178 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.614e-05/0.1448, allocations: 3.938 kB / 0.5178 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.1453, allocations: 143.5 kB / 0.5179 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.357e-05/0.1454, allocations: 27.97 kB / 0.518 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.1454, allocations: 8 kB / 0.518 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.1454, allocations: 15.94 kB / 0.518 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.1455, allocations: 19.91 kB / 0.518 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1455, allocations: 8 kB / 0.518 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.1458, allocations: 143.8 kB / 0.5181 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.1458, allocations: 15.92 kB / 0.5182 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.1458, allocations: 11.92 kB / 0.5182 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1461, allocations: 123.6 kB / 0.5183 GB, free: 5.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1461, allocations: 0 / 0.5183 GB, free: 5.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1461, allocations: 0 / 0.5183 GB, free: 5.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1461, allocations: 4 kB / 0.5183 GB, free: 5.797 MB / 398.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.0004101/0.1465, allocations: 286 kB / 0.5186 GB, free: 5.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1465, allocations: 12.03 kB / 0.5186 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.403e-05/0.1465, allocations: 4.188 kB / 0.5186 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.1466, allocations: 42.73 kB / 0.5186 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1466, allocations: 4.891 kB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1467, allocations: 118.4 kB / 0.5187 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1467, allocations: 4.375 kB / 0.5187 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1468, allocations: 8.375 kB / 0.5188 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1469, allocations: 65.8 kB / 0.5188 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1469, allocations: 11.94 kB / 0.5188 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.147, allocations: 8 kB / 0.5188 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.147, allocations: 0 / 0.5188 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.147, allocations: 35.97 kB / 0.5189 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1472, allocations: 152.8 kB / 0.519 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1474, allocations: 82.42 kB / 0.5191 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.1475, allocations: 24.84 kB / 0.5191 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.1477, allocations: 27.97 kB / 0.5191 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1478, allocations: 34.5 kB / 0.5192 GB, free: 4.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1478, allocations: 3.938 kB / 0.5192 GB, free: 4.758 MB / 398.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.1321/0.2799, allocations: 5.615 MB / 0.5247 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2799, allocations: 55.41 kB / 0.5247 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2801, allocations: 101.8 kB / 0.5248 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.2801, allocations: 33.64 kB / 0.5248 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.2801, allocations: 80.52 kB / 0.5249 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2802, allocations: 79.41 kB / 0.525 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.2804, allocations: 61.67 kB / 0.5251 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2806, allocations: 318.8 kB / 0.5254 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.281, allocations: 115.8 kB / 0.5255 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.2813, allocations: 119.8 kB / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.2829, allocations: 316.6 kB / 0.5259 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2829, allocations: 4 kB / 0.5259 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001292/0.2842, allocations: 357.7 kB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2842, allocations: 8 kB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2842, allocations: 4 kB / 0.5262 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2842, allocations: 0 / 0.5262 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.2846, allocations: 79.86 kB / 0.5263 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2846, allocations: 0 / 0.5263 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.2849, allocations: 31.89 kB / 0.5263 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.2849, allocations: 15.98 kB / 0.5264 GB, free: 13.3 MB / 414.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.0001315/0.285, allocations: 125.8 kB / 0.5265 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.2851, allocations: 7.953 kB / 0.5265 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.2866, allocations: 433.8 kB / 0.5269 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2866, allocations: 0 / 0.5269 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2866, allocations: 0 / 0.5269 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2866, allocations: 7.922 kB / 0.5269 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.2889, allocations: 0.7252 MB / 0.5276 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2889, allocations: 0 / 0.5276 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.2892, allocations: 83.8 kB / 0.5277 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2892, allocations: 4 kB / 0.5277 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.2892, allocations: 11.98 kB / 0.5277 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2893, allocations: 0 / 0.5277 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2893, allocations: 64 / 0.5277 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.2905, allocations: 432.7 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.2905, allocations: 7.953 kB / 0.5281 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.2905, allocations: 8 kB / 0.5281 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2907, allocations: 27.97 kB / 0.5282 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.2908, allocations: 15.97 kB / 0.5282 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.2908, allocations: 19.98 kB / 0.5282 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.2908, allocations: 75.28 kB / 0.5283 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 0.5283 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001742/0.2926, allocations: 0.6284 MB / 0.5289 GB, free: 10.61 MB / 414.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.005065/0.2976, allocations: 1.143 MB / 0.53 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008494/0.2985, allocations: 255.7 kB / 0.5303 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.2985, allocations: 4 kB / 0.5303 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.2989, allocations: 131.9 kB / 0.5304 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2992, allocations: 8 kB / 0.5304 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3012, allocations: 436.4 kB / 0.5308 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.386e-05/0.3013, allocations: 84.3 kB / 0.5309 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.3015, allocations: 77.08 kB / 0.531 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3017, allocations: 55.39 kB / 0.531 GB, free: 8.332 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3017, allocations: 0 / 0.531 GB, free: 8.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/0.6091, allocations: 55.5 MB / 0.5852 GB, free: 1.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.34, allocations: 12.55 kB / 0.5852 GB, free: 1.438 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.369525173096918]