Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007865, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008011/0.0008011, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8668/0.8668, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.665e-05, allocations: 5.094 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001475/0.001501, allocations: 0.505 MB / 442.6 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.001737, allocations: 95.67 kB / 442.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.001759, allocations: 0 / 442.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.001773, allocations: 0 / 442.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.031e-05/0.001793, allocations: 0 / 442.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.001985, allocations: 19.86 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.002038, allocations: 11.98 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.002082, allocations: 0 / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.002124, allocations: 12 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.002168, allocations: 7.969 kB / 442.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.002183, allocations: 4 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.002252, allocations: 23.97 kB / 442.8 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.002264, allocations: 7.938 kB / 442.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.002279, allocations: 0 / 442.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.314e-05/0.002372, allocations: 31.94 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.002375, allocations: 4 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002376, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00238, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.7 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.0003035/0.002683, allocations: 258.3 kB / 443.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.00272, allocations: 12.03 kB / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.002746, allocations: 30.75 kB / 443.2 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.002766, allocations: 8.812 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.002836, allocations: 105.8 kB / 443.3 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.002845, allocations: 384 / 443.3 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.002853, allocations: 4.375 kB / 443.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.002952, allocations: 51.97 kB / 443.3 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.002958, allocations: 8.125 kB / 443.3 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.002965, allocations: 384 / 443.3 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.002971, allocations: 8.125 kB / 443.3 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.003007, allocations: 19.92 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1559/0.1589, allocations: 284.2 kB / 443.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.159, allocations: 19.17 kB / 443.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.159, allocations: 15.67 kB / 443.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.159, allocations: 3.938 kB / 443.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1591, allocations: 35.72 kB / 443.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.1591, allocations: 0 / 443.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001565/0.1592, allocations: 59.03 kB / 443.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.1592, allocations: 54.16 kB / 443.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.28e-05/0.1593, allocations: 102.7 kB / 443.9 MB, free: 43.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.1593, allocations: 26.33 kB / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.1593, allocations: 80.77 kB / 444 MB, free: 43.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.1593, allocations: 13.34 kB / 444 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.1593, allocations: 18.38 kB / 444.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.133e-05/0.1594, allocations: 318.4 kB / 444.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.1594, allocations: 4.406 kB / 444.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.1594, allocations: 21.7 kB / 444.4 MB, free: 43.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.1594, allocations: 30.12 kB / 444.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1594, allocations: 2.688 kB / 444.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.199e-05/0.1595, allocations: 59.62 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1595, allocations: 5.438 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1595, allocations: 2.031 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1595, allocations: 5.922 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.1596, allocations: 5.562 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.1596, allocations: 4.625 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.1596, allocations: 4.641 kB / 444.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1596, allocations: 6.469 kB / 444.5 MB, free: 43.31 MB / 410.7 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 3.441e-05/0.1596, allocations: 112.6 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.1597, allocations: 3.875 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.1598, allocations: 64.64 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1598, allocations: 0 / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1598, allocations: 0 / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1598, allocations: 0.6562 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.093e-05/0.1598, allocations: 132.9 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1598, allocations: 3.281 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.1599, allocations: 11.28 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.1599, allocations: 0 / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1599, allocations: 6.062 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.1599, allocations: 2.75 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1599, allocations: 1.594 kB / 444.8 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.014e-05/0.1599, allocations: 162.9 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.1599, allocations: 0 / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.16, allocations: 5.562 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.16, allocations: 4.969 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.16, allocations: 3.281 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.16, allocations: 3.312 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.107e-05/0.16, allocations: 78.91 kB / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.16, allocations: 0 / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.1602, allocations: 11.25 kB / 445.1 MB, free: 42.79 MB / 410.7 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.0001649/0.1603, allocations: 0.6744 MB / 445.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.1604, allocations: 26.34 kB / 445.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1604, allocations: 0.8438 kB / 445.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.1604, allocations: 13.73 kB / 445.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1606, allocations: 9.281 kB / 445.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.1608, allocations: 136.7 kB / 446 MB, free: 42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.1608, allocations: 61.86 kB / 446 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.1609, allocations: 9.531 kB / 446 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1609, allocations: 15.28 kB / 446 MB, free: 41.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1609, allocations: 7.531 kB / 446.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.1739, allocations: 1.928 MB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.611, allocations: 6.188 kB / 448 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.478648414835334]