Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001336/0.001336, allocations: 116.5 kB / 20.43 MB, free: 1.305 MB / 14.72 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.001597/0.001597, allocations: 206.6 kB / 23.74 MB, free: 4.539 MB / 14.72 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 1.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2268, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005232/0.2321, allocations: 3.719 MB / 434.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.234, allocations: 1.016 MB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.2343, allocations: 11.94 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.2346, allocations: 111 kB / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005512/0.2352, allocations: 202.3 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.2355, allocations: 131.8 kB / 436.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008837/0.2364, allocations: 0.6919 MB / 437 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.2367, allocations: 126.9 kB / 437.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.237, allocations: 263.1 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.2374, allocations: 298.7 kB / 437.7 MB, free: 108 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.993e-05/0.2375, allocations: 56 kB / 437.8 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2377, allocations: 60.05 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2378, allocations: 123.5 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.2382, allocations: 314.5 kB / 438.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.2389, allocations: 0.693 MB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2389, allocations: 3.938 kB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2389, allocations: 4 kB / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.239, allocations: 4 kB / 439 MB, free: 14.86 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.001649/0.2406, allocations: 0.8333 MB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2407, allocations: 8.031 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.2408, allocations: 79.33 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.2409, allocations: 64.56 kB / 439.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.2416, allocations: 381 kB / 440.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.2418, allocations: 114.3 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.2418, allocations: 32.38 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.2427, allocations: 492.8 kB / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2427, allocations: 0 / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.2428, allocations: 20 kB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.2428, allocations: 15.92 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.2436, allocations: 342.4 kB / 441.3 MB, free: 12.37 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.002195/0.2458, allocations: 1.26 MB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.2465, allocations: 278.4 kB / 442.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.2469, allocations: 168.7 kB / 443 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.2469, allocations: 8 kB / 443 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2469, allocations: 38.56 kB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.2469, allocations: 0 / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001586/0.2485, allocations: 0.5749 MB / 443.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003111/0.2488, allocations: 452.9 kB / 444.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.2494, allocations: 457.9 kB / 444.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.2494, allocations: 33.7 kB / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.2496, allocations: 252.6 kB / 444.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2498, allocations: 122.9 kB / 444.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.2499, allocations: 81.69 kB / 445 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2501, allocations: 354.8 kB / 445.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.2505, allocations: 135.7 kB / 445.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.251, allocations: 286.8 kB / 445.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.2517, allocations: 341.2 kB / 446.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2517, allocations: 0 / 446.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001013/0.2527, allocations: 494 kB / 446.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.2528, allocations: 33.69 kB / 446.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2528, allocations: 0 / 446.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.2529, allocations: 49.7 kB / 446.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.2533, allocations: 79.88 kB / 446.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.256, allocations: 2.766 MB / 449.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.2564, allocations: 55.81 kB / 449.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.2564, allocations: 11.98 kB / 449.6 MB, free: 3.527 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.0002257/0.2566, allocations: 174.4 kB / 449.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.2567, allocations: 47.72 kB / 449.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.2568, allocations: 52.77 kB / 449.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2568, allocations: 7.984 kB / 449.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2568, allocations: 3.938 kB / 449.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009963/0.2578, allocations: 0.7273 MB / 450.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2596, allocations: 0.989 MB / 451.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2596, allocations: 3.938 kB / 451.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.26, allocations: 87.88 kB / 451.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.26, allocations: 0 / 451.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.26, allocations: 8 kB / 451.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.26, allocations: 4 kB / 451.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.26, allocations: 0 / 451.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.2613, allocations: 0.6564 MB / 452.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.2615, allocations: 103.5 kB / 452.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.2616, allocations: 15.98 kB / 452.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.2619, allocations: 23.97 kB / 452.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.262, allocations: 23.95 kB / 452.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.262, allocations: 12 kB / 452.5 MB, free: 424 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003946/0.2624, allocations: 319.1 kB / 452.8 MB, free: 104 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2624, allocations: 0 / 452.8 MB, free: 104 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.2628, allocations: 143.8 kB / 452.9 MB, free: 15.96 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.001616/0.2645, allocations: 1.212 MB / 454.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.2656, allocations: 0.6097 MB / 454.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2656, allocations: 4.125 kB / 454.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.266, allocations: 167.8 kB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.2667, allocations: 136.5 kB / 455.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.2737, allocations: 4.528 MB / 459.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.2742, allocations: 0.8314 MB / 460.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.2744, allocations: 60.34 kB / 460.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.2747, allocations: 171.4 kB / 460.7 MB, free: 8.051 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2747, allocations: 4 kB / 460.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/0.3254, allocations: 13.98 MB / 474.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13, allocations: 25.3 kB / 474.7 MB, free: 10.3 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.272189462091774]