Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001243/0.001243, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001316/0.001316, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.1002, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004908/0.1051, allocations: 3.698 MB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.107, allocations: 1.016 MB / 431 MB, free: 52 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1072, allocations: 7.938 kB / 431 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1999/0.3071, allocations: 108.9 kB / 431.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.3077, allocations: 195.2 kB / 431.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.308, allocations: 132 kB / 431.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007493/0.3088, allocations: 0.684 MB / 432.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.309, allocations: 130.8 kB / 432.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.3093, allocations: 265.7 kB / 432.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.3096, allocations: 298.4 kB / 432.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.42e-05/0.3097, allocations: 55.72 kB / 432.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.3097, allocations: 60.03 kB / 432.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.3098, allocations: 128 kB / 433.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.31, allocations: 309.6 kB / 433.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.3106, allocations: 0.694 MB / 434 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3106, allocations: 0 / 434 MB, free: 7.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3106, allocations: 0 / 434 MB, free: 7.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3106, allocations: 3.656 kB / 434.1 MB, free: 7.227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001317/0.312, allocations: 0.9044 MB / 435 MB, free: 6.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.312, allocations: 9.062 kB / 435 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.3121, allocations: 78.62 kB / 435 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3122, allocations: 71.12 kB / 435.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/0.3128, allocations: 440.4 kB / 435.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.3129, allocations: 58.92 kB / 435.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.313, allocations: 33.5 kB / 435.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007693/0.3137, allocations: 0.4897 MB / 436.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3137, allocations: 0 / 436.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.3138, allocations: 15.97 kB / 436.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3138, allocations: 9.188 kB / 436.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.3146, allocations: 345.5 kB / 436.5 MB, free: 6.055 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.3164, allocations: 1.293 MB / 437.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.317, allocations: 358.2 kB / 438.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.3174, allocations: 165.9 kB / 438.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.3174, allocations: 9.719 kB / 438.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3175, allocations: 42.62 kB / 438.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.352e-06/0.3175, allocations: 1.125 kB / 438.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001476/0.3189, allocations: 0.7232 MB / 439.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.319, allocations: 448.1 kB / 439.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.3195, allocations: 453.8 kB / 439.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3195, allocations: 38.05 kB / 440 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3196, allocations: 246.1 kB / 440.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.3197, allocations: 131.5 kB / 440.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3198, allocations: 83.7 kB / 440.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.3199, allocations: 361.2 kB / 440.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.3202, allocations: 137.5 kB / 440.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.3207, allocations: 286.9 kB / 441.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.3214, allocations: 331.4 kB / 441.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3214, allocations: 0 / 441.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009082/0.3223, allocations: 495.6 kB / 442 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3223, allocations: 32.05 kB / 442 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3223, allocations: 1.031 kB / 442 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.3225, allocations: 50.03 kB / 442.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.3229, allocations: 80.38 kB / 442.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.3248, allocations: 2.972 MB / 445.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.3253, allocations: 53.7 kB / 445.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3253, allocations: 15.62 kB / 445.2 MB, free: 15.57 MB / 366.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.3255, allocations: 169.2 kB / 445.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.3256, allocations: 54.77 kB / 445.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.3257, allocations: 55.95 kB / 445.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3257, allocations: 3.594 kB / 445.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3257, allocations: 3.938 kB / 445.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.3268, allocations: 0.7305 MB / 446.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3285, allocations: 1.016 MB / 447.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3285, allocations: 1.031 kB / 447.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.3289, allocations: 88.98 kB / 447.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3289, allocations: 2.469 kB / 447.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.329, allocations: 10.23 kB / 447.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.329, allocations: 2.25 kB / 447.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.329, allocations: 0 / 447.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3303, allocations: 0.6438 MB / 448 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.3305, allocations: 175.6 kB / 448.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.3306, allocations: 12.38 kB / 448.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3309, allocations: 30.56 kB / 448.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.331, allocations: 23.17 kB / 448.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.331, allocations: 6.234 kB / 448.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.3314, allocations: 327 kB / 448.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3314, allocations: 0 / 448.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.3319, allocations: 136.2 kB / 448.7 MB, free: 13.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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.001653/0.3335, allocations: 1.215 MB / 449.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3348, allocations: 0.6163 MB / 450.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3348, allocations: 4.969 kB / 450.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.3352, allocations: 168 kB / 450.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.3359, allocations: 150.6 kB / 450.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.3429, allocations: 4.524 MB / 455.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.3434, allocations: 0.8315 MB / 456.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.3438, allocations: 59.75 kB / 456.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.3441, allocations: 176 kB / 456.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3441, allocations: 0 / 456.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/0.4067, allocations: 13.75 MB / 470.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.29, allocations: 11.86 kB / 470.2 MB, free: 3.051 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 14.60988753195852]