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.001257/0.001257, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001401/0.001401, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001546/0.001546, allocations: 47.92 kB / 377.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2256, allocations: 53.36 MB / 431.1 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004734/0.2303, allocations: 3.374 MB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.232, allocations: 0.9618 MB / 435.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.2322, allocations: 7.938 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.2326, allocations: 111.1 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.233, allocations: 194.3 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.2332, allocations: 139.8 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.234, allocations: 0.6808 MB / 436.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.2343, allocations: 130.9 kB / 436.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.2346, allocations: 267 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.235, allocations: 294.7 kB / 437.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.558e-05/0.2351, allocations: 59.94 kB / 437.3 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.2352, allocations: 60 kB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2353, allocations: 123.6 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.2356, allocations: 262.8 kB / 437.7 MB, free: 28 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.2363, allocations: 0.697 MB / 438.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2363, allocations: 0 / 438.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2363, allocations: 4 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2363, allocations: 0 / 438.4 MB, free: 15.32 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.001631/0.238, allocations: 0.8372 MB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.238, allocations: 12.03 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.2381, allocations: 75.33 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2382, allocations: 68.56 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.239, allocations: 381 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.2392, allocations: 106.3 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.2392, allocations: 36.38 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2403, allocations: 0.8618 MB / 440.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2403, allocations: 3.938 kB / 440.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.2404, allocations: 16 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2404, allocations: 8 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.2412, allocations: 346.3 kB / 441.1 MB, free: 12.36 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.002048/0.2433, allocations: 1.014 MB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.2439, allocations: 274.4 kB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.2443, allocations: 172.7 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.2443, allocations: 8 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2444, allocations: 46.48 kB / 442.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.2444, allocations: 0 / 442.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001554/0.2459, allocations: 0.5634 MB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/0.2462, allocations: 448.9 kB / 443.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.2467, allocations: 461.9 kB / 444.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.2468, allocations: 33.7 kB / 444.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.247, allocations: 252.6 kB / 444.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.2471, allocations: 118.9 kB / 444.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2473, allocations: 89.58 kB / 444.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2474, allocations: 358.8 kB / 444.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.2478, allocations: 165.4 kB / 445.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.2486, allocations: 0.6778 MB / 445.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.2493, allocations: 341.1 kB / 446.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2493, allocations: 4 kB / 446.1 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001117/0.2504, allocations: 0.4999 MB / 446.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.2505, allocations: 29.7 kB / 446.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2505, allocations: 3.938 kB / 446.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.2507, allocations: 49.69 kB / 446.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.2511, allocations: 87.81 kB / 446.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.2537, allocations: 2.758 MB / 449.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.2542, allocations: 55.73 kB / 449.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.2542, allocations: 12 kB / 449.6 MB, free: 3.234 MB / 350.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.0002387/0.2545, allocations: 175.9 kB / 449.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2546, allocations: 51.67 kB / 449.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.2547, allocations: 56.75 kB / 449.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2547, allocations: 0 / 449.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2547, allocations: 7.938 kB / 449.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.2557, allocations: 0.727 MB / 450.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.2574, allocations: 0.8989 MB / 451.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2574, allocations: 3.938 kB / 451.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.2578, allocations: 87.88 kB / 451.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.2578, allocations: 4.234 kB / 451.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.2579, allocations: 8 kB / 451.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2579, allocations: 0 / 451.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.2579, allocations: 4 kB / 451.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.2592, allocations: 0.6534 MB / 452.3 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.2594, allocations: 99.45 kB / 452.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.2595, allocations: 15.98 kB / 452.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.2599, allocations: 31.97 kB / 452.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.26, allocations: 23.95 kB / 452.4 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.26, allocations: 8 kB / 452.4 MB, free: 212 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003977/0.2604, allocations: 319.1 kB / 452.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2604, allocations: 0 / 452.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.2608, allocations: 139.9 kB / 452.9 MB, free: 15.76 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.001678/0.2625, allocations: 1.212 MB / 454.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.2638, allocations: 0.6468 MB / 454.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2638, allocations: 4 kB / 454.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.2642, allocations: 163.8 kB / 454.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.2649, allocations: 134 kB / 455 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.2718, allocations: 4.633 MB / 459.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.272, allocations: 232.5 kB / 459.9 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.2723, allocations: 60.34 kB / 459.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.2726, allocations: 171.4 kB / 460.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2726, allocations: 4 kB / 460.1 MB, free: 8.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.3222, allocations: 15.53 MB / 475.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.55, allocations: 4 kB / 475.7 MB, free: 9.121 MB / 382.1 MB " [Timeout remaining time 647] (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.81030171198654]