Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.92 MB / 349.6 MB, free: 1.707 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.7 kB / 491.8 MB, free: 30.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 64.26 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001601/0.1183, allocations: 0.5048 MB / 0.5435 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.1186, allocations: 103.6 kB / 0.5436 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.1187, allocations: 0 / 0.5436 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1187, allocations: 3.938 kB / 0.5436 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.1187, allocations: 0 / 0.5436 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1189, allocations: 11.98 kB / 0.5436 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.119, allocations: 11.98 kB / 0.5436 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.119, allocations: 0 / 0.5436 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.119, allocations: 11.94 kB / 0.5436 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.1191, allocations: 15.91 kB / 0.5436 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1191, allocations: 4 kB / 0.5436 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.1192, allocations: 31.97 kB / 0.5437 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.1192, allocations: 0 / 0.5437 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.1192, allocations: 3.938 kB / 0.5437 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.1193, allocations: 24.19 kB / 0.5437 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1193, allocations: 3.938 kB / 0.5437 GB, free: 3.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1193, allocations: 4 kB / 0.5437 GB, free: 3.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1193, allocations: 0 / 0.5437 GB, free: 3.383 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004318/0.1198, allocations: 323.9 kB / 0.544 GB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1198, allocations: 12.03 kB / 0.544 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.1199, allocations: 38.75 kB / 0.5441 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1199, allocations: 4.891 kB / 0.5441 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.12, allocations: 168.3 kB / 0.5442 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.12, allocations: 384 / 0.5442 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1201, allocations: 4.375 kB / 0.5442 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1202, allocations: 55.91 kB / 0.5443 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1202, allocations: 3.938 kB / 0.5443 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1202, allocations: 8 kB / 0.5443 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1202, allocations: 0 / 0.5443 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.1203, allocations: 8 kB / 0.5443 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1206, allocations: 325.1 kB / 0.5446 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.1206, allocations: 34.45 kB / 0.5446 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.1207, allocations: 8.859 kB / 0.5447 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1207, allocations: 4 kB / 0.5447 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1207, allocations: 42.58 kB / 0.5447 GB, free: 2.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1207, allocations: 0 / 0.5447 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001835/0.1209, allocations: 53.69 kB / 0.5447 GB, free: 2.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.121, allocations: 55.34 kB / 0.5448 GB, free: 2.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.121, allocations: 97.86 kB / 0.5449 GB, free: 1.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.121, allocations: 25.7 kB / 0.5449 GB, free: 1.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.1211, allocations: 88.22 kB / 0.545 GB, free: 1.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1211, allocations: 7.906 kB / 0.545 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1211, allocations: 21.7 kB / 0.545 GB, free: 1.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1213, allocations: 314.8 kB / 0.5453 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.1213, allocations: 8 kB / 0.5453 GB, free: 1.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.1213, allocations: 21.7 kB / 0.5454 GB, free: 1.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.1214, allocations: 29.72 kB / 0.5454 GB, free: 1.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1214, allocations: 3.938 kB / 0.5454 GB, free: 1.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001178/0.1215, allocations: 61.69 kB / 0.5455 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1215, allocations: 4 kB / 0.5455 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1215, allocations: 4 kB / 0.5455 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1215, allocations: 4 kB / 0.5455 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.1216, allocations: 4 kB / 0.5455 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1216, allocations: 7.984 kB / 0.5455 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.1216, allocations: 0 / 0.5455 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.1216, allocations: 3.938 kB / 0.5455 GB, free: 1.309 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.949e-05/0.1217, allocations: 121.8 kB / 0.5456 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1217, allocations: 0 / 0.5456 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1219, allocations: 61.19 kB / 0.5457 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1219, allocations: 240 / 0.5457 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1219, allocations: 0 / 0.5457 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1219, allocations: 3.984 kB / 0.5457 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1221, allocations: 165.6 kB / 0.5458 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1221, allocations: 0 / 0.5458 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.1221, allocations: 7.984 kB / 0.5458 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1221, allocations: 11.94 kB / 0.5458 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1221, allocations: 0 / 0.5458 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1221, allocations: 0 / 0.5458 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1221, allocations: 0 / 0.5458 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1222, allocations: 151.5 kB / 0.546 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1223, allocations: 81.11 kB / 0.5461 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1223, allocations: 0 / 0.5461 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.1224, allocations: 0 / 0.5461 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.1224, allocations: 8 kB / 0.5461 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1224, allocations: 8.125 kB / 0.5461 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.986e-05/0.1224, allocations: 79.27 kB / 0.5461 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1224, allocations: 3.938 kB / 0.5461 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1226, allocations: 8 kB / 0.5462 GB, free: 0.5078 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0004839/0.1231, allocations: 0.689 MB / 0.5468 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1232, allocations: 23.98 kB / 0.5469 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1232, allocations: 0 / 0.5469 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.1233, allocations: 15.94 kB / 0.5469 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1235, allocations: 3.938 kB / 0.5469 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.1239, allocations: 138.5 kB / 0.547 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1242, allocations: 0.6844 MB / 0.5477 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1242, allocations: 4.312 kB / 0.5477 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1243, allocations: 19.42 kB / 0.5477 GB, free: 14.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1243, allocations: 0 / 0.5477 GB, free: 14.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1472, allocations: 1.298 MB / 0.549 GB, free: 13.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.876, allocations: 9.766 kB / 0.549 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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: 10.845947246067226]