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.001384/0.001384, allocations: 109 kB / 20.48 MB, free: 1.477 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.001438/0.001438, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.4/1.4, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2189/0.2189, allocations: 44.24 MB / 331.1 MB, free: 9.5 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.002173/0.002173, allocations: 67.91 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1166, allocations: 61.04 MB / 0.5169 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001821/0.1185, allocations: 0.5484 MB / 0.5174 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.1193, allocations: 407.1 kB / 0.5178 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.1193, allocations: 0 / 0.5178 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1194, allocations: 3.938 kB / 0.5178 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.362e-05/0.1194, allocations: 3.938 kB / 0.5178 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.1199, allocations: 155.5 kB / 0.518 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.12, allocations: 19.98 kB / 0.518 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.12, allocations: 11.98 kB / 0.518 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1201, allocations: 19.92 kB / 0.518 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.1201, allocations: 19.92 kB / 0.5181 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1201, allocations: 0 / 0.5181 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.1204, allocations: 159.8 kB / 0.5182 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.1204, allocations: 19.91 kB / 0.5182 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.1205, allocations: 15.88 kB / 0.5182 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1207, allocations: 131.6 kB / 0.5184 GB, free: 5.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1207, allocations: 8 kB / 0.5184 GB, free: 5.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1207, allocations: 0 / 0.5184 GB, free: 5.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1207, allocations: 0 / 0.5184 GB, free: 5.824 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.0004283/0.1211, allocations: 294 kB / 0.5187 GB, free: 5.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1212, allocations: 8.031 kB / 0.5187 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.424e-05/0.1212, allocations: 192 / 0.5187 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.1212, allocations: 34.75 kB / 0.5187 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.1213, allocations: 8.891 kB / 0.5187 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1214, allocations: 114.5 kB / 0.5188 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1214, allocations: 4.375 kB / 0.5188 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1214, allocations: 12.36 kB / 0.5188 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1216, allocations: 65.73 kB / 0.5189 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1216, allocations: 3.953 kB / 0.5189 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1216, allocations: 8 kB / 0.5189 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1216, allocations: 0 / 0.5189 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.791e-05/0.1217, allocations: 39.95 kB / 0.5189 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.1219, allocations: 144.8 kB / 0.5191 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.122, allocations: 90.53 kB / 0.5192 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1221, allocations: 24.8 kB / 0.5192 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.1223, allocations: 31.94 kB / 0.5192 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1223, allocations: 38.5 kB / 0.5193 GB, free: 4.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.1223, allocations: 0 / 0.5193 GB, free: 4.789 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.1372/0.2595, allocations: 5.614 MB / 0.5247 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2596, allocations: 55.41 kB / 0.5248 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.2597, allocations: 101.8 kB / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.2597, allocations: 25.7 kB / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.2598, allocations: 84.52 kB / 0.525 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2599, allocations: 87.25 kB / 0.5251 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.26, allocations: 57.67 kB / 0.5251 GB, free: 14.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2601, allocations: 318.8 kB / 0.5254 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.2605, allocations: 112 kB / 0.5255 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.2609, allocations: 115.8 kB / 0.5257 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2624, allocations: 324.5 kB / 0.526 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2624, allocations: 0 / 0.526 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001302/0.2637, allocations: 361.7 kB / 0.5263 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2638, allocations: 4 kB / 0.5263 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2638, allocations: 0 / 0.5263 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2638, allocations: 4 kB / 0.5263 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2642, allocations: 79.84 kB / 0.5264 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2642, allocations: 4 kB / 0.5264 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.2644, allocations: 31.91 kB / 0.5264 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.2644, allocations: 11.98 kB / 0.5264 GB, free: 13.33 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.0001379/0.2646, allocations: 117.8 kB / 0.5266 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.2646, allocations: 11.89 kB / 0.5266 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.2661, allocations: 437.8 kB / 0.527 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2661, allocations: 0 / 0.527 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2661, allocations: 4 kB / 0.527 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.2661, allocations: 11.92 kB / 0.527 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.2685, allocations: 0.7368 MB / 0.5277 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.2685, allocations: 4 kB / 0.5277 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.2688, allocations: 75.86 kB / 0.5278 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2688, allocations: 4 kB / 0.5278 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2688, allocations: 15.98 kB / 0.5278 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2688, allocations: 0 / 0.5278 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.2688, allocations: 4 kB / 0.5278 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2701, allocations: 428.8 kB / 0.5282 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.2701, allocations: 3.953 kB / 0.5282 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.2701, allocations: 4 kB / 0.5282 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.2703, allocations: 23.97 kB / 0.5283 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.2703, allocations: 23.91 kB / 0.5283 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.2704, allocations: 15.98 kB / 0.5283 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.2704, allocations: 79.28 kB / 0.5284 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2704, allocations: 0 / 0.5284 GB, free: 11.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001779/0.2722, allocations: 0.6284 MB / 0.529 GB, free: 10.63 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.005115/0.2773, allocations: 1.143 MB / 0.5301 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009129/0.2782, allocations: 259.7 kB / 0.5303 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2782, allocations: 0 / 0.5303 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.2786, allocations: 124 kB / 0.5305 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2789, allocations: 8 kB / 0.5305 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.2808, allocations: 440.3 kB / 0.5309 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2812, allocations: 0.697 MB / 0.5316 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.2814, allocations: 81.02 kB / 0.5317 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.2816, allocations: 55.39 kB / 0.5317 GB, free: 7.73 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2816, allocations: 0 / 0.5317 GB, free: 7.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3015/0.5831, allocations: 55.31 MB / 0.5857 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.13, allocations: 14.59 kB / 0.5857 GB, free: 0.5117 MB / 414.1 MB " [Timeout remaining time 648] (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.186651885975152]