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.00132/0.00132, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001374/0.001374, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.386/1.386, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001575/0.001575, allocations: 47.94 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2307, allocations: 53.37 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005175/0.2358, allocations: 3.709 MB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.2375, allocations: 1.022 MB / 435.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.2377, allocations: 11.94 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.238, allocations: 111 kB / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.2384, allocations: 202.3 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.2387, allocations: 135.7 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.2395, allocations: 0.6846 MB / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.2397, allocations: 130.9 kB / 437.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.24, allocations: 263.1 kB / 437.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.2404, allocations: 298.8 kB / 437.7 MB, free: 304 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-05/0.2405, allocations: 56 kB / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.2406, allocations: 60 kB / 437.8 MB, free: 188 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.2407, allocations: 127.5 kB / 437.9 MB, free: 60 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.241, allocations: 314.5 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.2417, allocations: 0.6925 MB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2418, allocations: 4 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2418, allocations: 0 / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2418, allocations: 0 / 438.9 MB, free: 15.05 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.001533/0.2433, allocations: 0.8294 MB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2433, allocations: 8.031 kB / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.2434, allocations: 79.33 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2436, allocations: 64.56 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.2443, allocations: 389 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2444, allocations: 110.3 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.2445, allocations: 32.38 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.2453, allocations: 0.4891 MB / 440.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2453, allocations: 0 / 440.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.2454, allocations: 12 kB / 440.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2454, allocations: 8 kB / 440.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.2462, allocations: 346.3 kB / 441.3 MB, free: 12.56 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.002073/0.2483, allocations: 1.264 MB / 442.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.249, allocations: 282.4 kB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.2494, allocations: 160.8 kB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.2494, allocations: 8 kB / 443 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2494, allocations: 46.55 kB / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.2494, allocations: 3.938 kB / 443 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001516/0.251, allocations: 0.5634 MB / 443.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002514/0.2512, allocations: 452.9 kB / 444 MB, free: 9.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.2517, allocations: 453.9 kB / 444.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.2518, allocations: 37.7 kB / 444.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.252, allocations: 248.6 kB / 444.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2521, allocations: 126.9 kB / 444.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2523, allocations: 73.69 kB / 444.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.2524, allocations: 354.8 kB / 445.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.2528, allocations: 143.7 kB / 445.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.2533, allocations: 294.7 kB / 445.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.2541, allocations: 333.2 kB / 446 MB, free: 7.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2541, allocations: 0 / 446 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001013/0.2551, allocations: 490 kB / 446.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.2551, allocations: 33.69 kB / 446.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2551, allocations: 8.031 kB / 446.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.2553, allocations: 45.64 kB / 446.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.2557, allocations: 87.88 kB / 446.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.2583, allocations: 2.766 MB / 449.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.2587, allocations: 47.81 kB / 449.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.2587, allocations: 15.98 kB / 449.5 MB, free: 3.719 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.00022/0.2589, allocations: 177.7 kB / 449.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.259, allocations: 47.72 kB / 449.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2591, allocations: 56.75 kB / 449.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2591, allocations: 4 kB / 449.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2592, allocations: 7.938 kB / 449.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.2602, allocations: 0.727 MB / 450.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2618, allocations: 0.9846 MB / 451.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2618, allocations: 3.938 kB / 451.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.2622, allocations: 87.94 kB / 451.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2622, allocations: 3.938 kB / 451.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.2623, allocations: 8 kB / 451.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2623, allocations: 0 / 451.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2623, allocations: 0 / 451.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2635, allocations: 0.6495 MB / 452.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.2637, allocations: 99.52 kB / 452.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.2638, allocations: 11.98 kB / 452.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.2641, allocations: 27.97 kB / 452.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.2642, allocations: 28.02 kB / 452.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2642, allocations: 8 kB / 452.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.2646, allocations: 327.1 kB / 452.8 MB, free: 304 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2646, allocations: 0 / 452.8 MB, free: 304 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.265, allocations: 139.8 kB / 452.9 MB, free: 164 kB / 350.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.001777/0.2668, allocations: 1.205 MB / 454.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.268, allocations: 0.6217 MB / 454.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.268, allocations: 4 kB / 454.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.2683, allocations: 163.8 kB / 454.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.269, allocations: 149.8 kB / 455 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/0.2757, allocations: 4.531 MB / 459.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.2763, allocations: 0.8275 MB / 460.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.2765, allocations: 60.36 kB / 460.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.2768, allocations: 179.4 kB / 460.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2768, allocations: 0 / 460.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04963/0.3264, allocations: 13.98 MB / 474.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.51, allocations: 6.438 kB / 474.6 MB, free: 10.54 MB / 382.1 MB " [Timeout remaining time 646] (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: 15.779185884166509]