Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.0008426/0.0008426, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0008376/0.0008376, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8842/0.8842, allocations: 177 MB / 204.1 MB, free: 5.762 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.2393/0.2393, allocations: 34.24 MB / 294.8 MB, free: 0.6992 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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.611e-05, allocations: 2.281 kB / 442.1 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009805/0.0009966, allocations: 0.5323 MB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004974/0.001494, allocations: 374.8 kB / 443 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.001516, allocations: 0 / 443 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.001531, allocations: 3.938 kB / 443 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.036e-05/0.001551, allocations: 4 kB / 443 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.001907, allocations: 147.4 kB / 443.2 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.001957, allocations: 27.97 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.001994, allocations: 0 / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.002027, allocations: 23.92 kB / 443.2 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.002069, allocations: 11.97 kB / 443.3 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.002081, allocations: 4 kB / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.002252, allocations: 143.8 kB / 443.4 MB, free: 356 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.002265, allocations: 7.938 kB / 443.4 MB, free: 348 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.002285, allocations: 19.91 kB / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.002443, allocations: 147.6 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002446, allocations: 8 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002446, allocations: 0 / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002449, allocations: 0 / 443.6 MB, free: 172 kB / 410.7 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.1602/0.1626, allocations: 283.4 kB / 443.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.1627, allocations: 8.406 kB / 443.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.1627, allocations: 36.59 kB / 443.9 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.1627, allocations: 8.516 kB / 443.9 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.058e-05/0.1628, allocations: 111.7 kB / 444 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1628, allocations: 4.75 kB / 444 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1629, allocations: 9.344 kB / 444 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.163, allocations: 67.16 kB / 444.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.163, allocations: 1.562 kB / 444.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.163, allocations: 2.938 kB / 444.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.163, allocations: 6.875 kB / 444.1 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.1631, allocations: 48.06 kB / 444.2 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1632, allocations: 145.1 kB / 444.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1633, allocations: 78.69 kB / 444.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.1633, allocations: 28.78 kB / 444.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.1635, allocations: 23.77 kB / 444.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.1636, allocations: 34.73 kB / 444.5 MB, free: 43.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.445e-06/0.1636, allocations: 0 / 444.5 MB, free: 43.84 MB / 410.7 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.05648/0.22, allocations: 5.618 MB / 450.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2201, allocations: 58.28 kB / 450.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.377e-05/0.2201, allocations: 96.03 kB / 450.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2202, allocations: 28.89 kB / 450.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.024e-05/0.2202, allocations: 80.52 kB / 450.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.2202, allocations: 81.38 kB / 450.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.2203, allocations: 62.97 kB / 450.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.2203, allocations: 318.1 kB / 450.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2205, allocations: 124.8 kB / 450.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.2207, allocations: 108.4 kB / 451 MB, free: 42.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.2215, allocations: 330.3 kB / 451.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2215, allocations: 0 / 451.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006357/0.2221, allocations: 357.4 kB / 451.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2221, allocations: 5.688 kB / 451.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2222, allocations: 0 / 451.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2222, allocations: 0 / 451.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2224, allocations: 81.53 kB / 451.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2224, allocations: 10.72 kB / 451.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.2225, allocations: 21.58 kB / 451.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2225, allocations: 21.78 kB / 451.8 MB, free: 42.52 MB / 410.7 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 7.559e-05/0.2226, allocations: 124.2 kB / 451.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.2226, allocations: 9.859 kB / 452 MB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007634/0.2233, allocations: 429.2 kB / 452.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2234, allocations: 2.906 kB / 452.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2234, allocations: 2.969 kB / 452.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2234, allocations: 3.047 kB / 452.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2245, allocations: 0.7299 MB / 453.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.2245, allocations: 3.375 kB / 453.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2247, allocations: 73.16 kB / 453.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2247, allocations: 2.938 kB / 453.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2247, allocations: 16.86 kB / 453.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2247, allocations: 10.06 kB / 453.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2247, allocations: 0 / 453.2 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.2252, allocations: 424 kB / 453.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.2253, allocations: 7.016 kB / 453.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2253, allocations: 10.81 kB / 453.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2254, allocations: 25.48 kB / 453.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.2254, allocations: 15.17 kB / 453.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2254, allocations: 11.88 kB / 453.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.785e-05/0.2254, allocations: 90.03 kB / 453.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2254, allocations: 0 / 453.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001206/0.2266, allocations: 0.6232 MB / 454.4 MB, free: 41.55 MB / 410.7 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.002801/0.2294, allocations: 1.169 MB / 455.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.2298, allocations: 253.5 kB / 455.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2299, allocations: 0 / 455.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.23, allocations: 121.5 kB / 455.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.2302, allocations: 15.31 kB / 456 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2312, allocations: 429.7 kB / 456.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.2313, allocations: 87.88 kB / 456.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.2314, allocations: 76.52 kB / 456.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2315, allocations: 58.83 kB / 456.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2315, allocations: 0 / 456.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06721/0.2987, allocations: 55.96 MB / 0.5005 GB, free: 10.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.61, allocations: 3.938 kB / 0.5005 GB, free: 10.6 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.53347908705473]