Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 117.8 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 47.92 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.09004, allocations: 52.13 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004453/0.09449, allocations: 3.52 MB / 422 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.09591, allocations: 0.9462 MB / 422.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.09606, allocations: 11.94 kB / 422.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.09635, allocations: 111.1 kB / 423.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.09669, allocations: 190.4 kB / 423.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.09693, allocations: 119.8 kB / 423.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.09759, allocations: 0.6335 MB / 424 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.09782, allocations: 138.8 kB / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.09806, allocations: 251.1 kB / 424.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.09838, allocations: 270.8 kB / 424.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.09846, allocations: 59.94 kB / 424.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.09854, allocations: 56 kB / 424.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.09864, allocations: 115.6 kB / 424.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.0989, allocations: 290.7 kB / 425.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.09955, allocations: 0.6458 MB / 425.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.09956, allocations: 0 / 425.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09956, allocations: 0 / 425.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.09957, allocations: 0 / 425.8 MB, free: 5.25 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001381/0.101, allocations: 0.858 MB / 426.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.101, allocations: 12.03 kB / 426.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.926e-05/0.101, allocations: 13.19 kB / 426.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1011, allocations: 79.64 kB / 426.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.1013, allocations: 68.56 kB / 426.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.1018, allocations: 403.3 kB / 427.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1019, allocations: 63.25 kB / 427.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.102, allocations: 36.12 kB / 427.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.1027, allocations: 480.3 kB / 427.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1027, allocations: 3.984 kB / 427.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.1028, allocations: 20 kB / 427.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1028, allocations: 12 kB / 427.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.1034, allocations: 283.8 kB / 428.1 MB, free: 2.789 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.002094/0.1055, allocations: 1.343 MB / 429.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1065, allocations: 414.6 kB / 429.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.1068, allocations: 153.4 kB / 430 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.1068, allocations: 7.984 kB / 430 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1069, allocations: 38.56 kB / 430 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.543e-06/0.1069, allocations: 0 / 430 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004135/0.111, allocations: 1.868 MB / 431.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00253/0.1135, allocations: 2.469 MB / 434.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.114, allocations: 454 kB / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.1141, allocations: 33.7 kB / 434.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1143, allocations: 233 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.1144, allocations: 202.2 kB / 435.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1146, allocations: 102.2 kB / 435.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1148, allocations: 366.7 kB / 435.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.1152, allocations: 197.7 kB / 435.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.1157, allocations: 344.6 kB / 436.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/0.1165, allocations: 450.1 kB / 436.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1165, allocations: 0 / 436.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001296/0.1178, allocations: 0.691 MB / 437.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.1178, allocations: 33.7 kB / 437.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1178, allocations: 0 / 437.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.1181, allocations: 127.3 kB / 437.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.1186, allocations: 103.9 kB / 437.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/0.1237, allocations: 5.969 MB / 443.6 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.1242, allocations: 31.97 kB / 443.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.1242, allocations: 19.98 kB / 443.7 MB, free: 2.023 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.0002484/0.1245, allocations: 181.7 kB / 443.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1246, allocations: 63.62 kB / 443.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1247, allocations: 65.34 kB / 444 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1247, allocations: 8 kB / 444 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1247, allocations: 0 / 444 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/0.1261, allocations: 0.9507 MB / 444.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1575/0.2836, allocations: 1.481 MB / 446.4 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2836, allocations: 0 / 446.4 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.284, allocations: 83.22 kB / 446.5 MB, free: 29.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.2844, allocations: 171.8 kB / 446.7 MB, free: 29.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.2844, allocations: 11.84 kB / 446.7 MB, free: 29.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003179/0.2876, allocations: 5.008 MB / 451.7 MB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009757/0.2886, allocations: 1.75 MB / 453.4 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.2901, allocations: 0.9581 MB / 454.4 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.2903, allocations: 175.5 kB / 454.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.2903, allocations: 16.53 kB / 454.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.2907, allocations: 27.31 kB / 454.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.2908, allocations: 46.78 kB / 454.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.2909, allocations: 14.73 kB / 454.7 MB, free: 23.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000304/0.2912, allocations: 319.1 kB / 455 MB, free: 23.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2912, allocations: 1.312 kB / 455 MB, free: 23.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006218/0.2918, allocations: 190.5 kB / 455.2 MB, free: 23.75 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.001839/0.2936, allocations: 1.522 MB / 456.7 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.2949, allocations: 0.9844 MB / 457.7 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2949, allocations: 1.031 kB / 457.7 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.2957, allocations: 0.6017 MB / 458.3 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.2964, allocations: 142.5 kB / 458.4 MB, free: 22.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.3033, allocations: 5.298 MB / 463.7 MB, free: 19.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3036, allocations: 0.8529 MB / 464.6 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.3039, allocations: 75.22 kB / 464.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.3042, allocations: 186.7 kB / 464.8 MB, free: 18.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3042, allocations: 0 / 464.8 MB, free: 18.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04424/0.3484, allocations: 16.29 MB / 481.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.58, allocations: 3.625 kB / 481.1 MB, free: 12.81 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.882517047983129]