Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001256/0.001256, allocations: 120 kB / 18.49 MB, free: 4.566 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.001298/0.001298, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.415/1.415, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 68.09 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1021, allocations: 53.37 MB / 427 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005066/0.1072, allocations: 3.529 MB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.109, allocations: 0.9852 MB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1093, allocations: 7.938 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1097, allocations: 103.2 kB / 431.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.1101, allocations: 194.2 kB / 431.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1104, allocations: 119.8 kB / 432 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007019/0.1111, allocations: 0.6406 MB / 432.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.1114, allocations: 138.8 kB / 432.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1116, allocations: 243.1 kB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.112, allocations: 282.8 kB / 433.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.112, allocations: 52 kB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.1121, allocations: 52 kB / 433.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1122, allocations: 115.6 kB / 433.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.1125, allocations: 294.7 kB / 433.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.1133, allocations: 0.6536 MB / 434.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1133, allocations: 0 / 434.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1133, allocations: 0 / 434.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1133, allocations: 0 / 434.4 MB, free: 13.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001461/0.1147, allocations: 0.8503 MB / 435.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1148, allocations: 8.031 kB / 435.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.057e-05/0.1148, allocations: 17.17 kB / 435.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.1149, allocations: 83.66 kB / 435.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.115, allocations: 64.56 kB / 435.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.1156, allocations: 407.3 kB / 435.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1157, allocations: 59.27 kB / 435.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.1158, allocations: 40.12 kB / 435.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/0.1166, allocations: 478.1 kB / 436.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1166, allocations: 3.953 kB / 436.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.1166, allocations: 16 kB / 436.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1166, allocations: 8 kB / 436.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.1173, allocations: 303.7 kB / 436.7 MB, free: 10.75 MB / 366.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.00217/0.1195, allocations: 1.32 MB / 438 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1206, allocations: 419.6 kB / 438.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.1208, allocations: 142.4 kB / 438.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1209, allocations: 8 kB / 438.6 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1209, allocations: 42.56 kB / 438.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.573e-06/0.1209, allocations: 0 / 438.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004301/0.1252, allocations: 1.873 MB / 440.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002681/0.1279, allocations: 2.466 MB / 443 MB, free: 4.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.1284, allocations: 453.9 kB / 443.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.1285, allocations: 41.7 kB / 443.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1287, allocations: 229 kB / 443.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.1288, allocations: 194.3 kB / 443.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.129, allocations: 102.2 kB / 444 MB, free: 2.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.1293, allocations: 366.7 kB / 444.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.1297, allocations: 193 kB / 444.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.1303, allocations: 352.6 kB / 444.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.1311, allocations: 450.1 kB / 445.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1311, allocations: 0 / 445.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001369/0.1325, allocations: 0.6831 MB / 446 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.1325, allocations: 33.7 kB / 446 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1325, allocations: 4.031 kB / 446 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.1329, allocations: 127.4 kB / 446.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.1333, allocations: 103.8 kB / 446.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1654/0.2987, allocations: 5.973 MB / 452.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.2993, allocations: 34.86 kB / 452.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.2993, allocations: 22.86 kB / 452.3 MB, free: 18.92 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.2996, allocations: 180.6 kB / 452.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2997, allocations: 59.53 kB / 452.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.2998, allocations: 67.39 kB / 452.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2998, allocations: 6.094 kB / 452.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2998, allocations: 3.109 kB / 452.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.3009, allocations: 0.9533 MB / 453.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.3031, allocations: 1.469 MB / 455 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3031, allocations: 0 / 455 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.3035, allocations: 85.83 kB / 455.1 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003887/0.3038, allocations: 165.4 kB / 455.3 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.3039, allocations: 12.67 kB / 455.3 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.3074, allocations: 5.015 MB / 460.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001089/0.3085, allocations: 1.751 MB / 462 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.3101, allocations: 0.9566 MB / 463 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.3103, allocations: 178.5 kB / 463.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.3104, allocations: 14 kB / 463.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.3108, allocations: 25.42 kB / 463.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3109, allocations: 44.56 kB / 463.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.311, allocations: 14.61 kB / 463.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003479/0.3113, allocations: 322.9 kB / 463.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3113, allocations: 0 / 463.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006659/0.312, allocations: 190.4 kB / 463.8 MB, free: 10.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/0.3138, allocations: 1.521 MB / 465.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.3154, allocations: 0.9827 MB / 466.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3154, allocations: 1.594 kB / 466.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008336/0.3163, allocations: 0.6046 MB / 466.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.3169, allocations: 145.2 kB / 467 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/0.3239, allocations: 5.288 MB / 472.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3243, allocations: 0.8573 MB / 473.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.3246, allocations: 74.78 kB / 473.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.3248, allocations: 185.8 kB / 473.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3248, allocations: 0 / 473.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.3724, allocations: 16.27 MB / 489.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.8, allocations: 21.7 kB / 489.7 MB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.179409415984992]