Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001427/0.001427, allocations: 104.5 kB / 21.96 MB, free: 5.215 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.001554/0.001554, allocations: 214.5 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.92 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2227, allocations: 49.17 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003502/0.2262, allocations: 3.183 MB / 400.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2274, allocations: 0.9467 MB / 401.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.2276, allocations: 9.031 kB / 401.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.2278, allocations: 104.6 kB / 401.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.2282, allocations: 190.5 kB / 401.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2284, allocations: 122.4 kB / 401.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005661/0.229, allocations: 0.6325 MB / 402.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.2292, allocations: 132.1 kB / 402.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.2294, allocations: 248.4 kB / 402.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.2297, allocations: 272.7 kB / 402.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.2298, allocations: 51.81 kB / 403 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.2299, allocations: 54.28 kB / 403.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2299, allocations: 124 kB / 403.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.2302, allocations: 244.5 kB / 403.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.2308, allocations: 0.6529 MB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2308, allocations: 3.938 kB / 404.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2308, allocations: 0 / 404.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.2308, allocations: 1.188 kB / 404.1 MB, free: 4.688 MB / 318.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.00111/0.2319, allocations: 0.7828 MB / 404.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2319, allocations: 12.95 kB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.422e-05/0.2319, allocations: 11.81 kB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.353e-05/0.232, allocations: 78.22 kB / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.2321, allocations: 70.56 kB / 405 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.2326, allocations: 336.5 kB / 405.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/0.2327, allocations: 111.3 kB / 405.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.2327, allocations: 48.19 kB / 405.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.2335, allocations: 0.8499 MB / 406.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2335, allocations: 6.031 kB / 406.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.2335, allocations: 16.84 kB / 406.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.2335, allocations: 12.25 kB / 406.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.2341, allocations: 297.6 kB / 406.7 MB, free: 2.746 MB / 318.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.001747/0.2358, allocations: 1.057 MB / 407.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008898/0.2367, allocations: 326.7 kB / 408.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.2369, allocations: 141.5 kB / 408.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.237, allocations: 11.09 kB / 408.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.237, allocations: 42.69 kB / 408.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 2.024e-06/0.237, allocations: 7.922 kB / 408.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003529/0.2405, allocations: 1.643 MB / 409.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002057/0.2426, allocations: 2.336 MB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.2431, allocations: 449.2 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.2431, allocations: 41.02 kB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.2433, allocations: 239.2 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.2435, allocations: 192.5 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.2436, allocations: 109.2 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2438, allocations: 363.5 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.2442, allocations: 215.6 kB / 413.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.2449, allocations: 0.7453 MB / 414.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.2456, allocations: 450.2 kB / 415 MB, free: 12.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2456, allocations: 1.75 kB / 415 MB, free: 12.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001215/0.2468, allocations: 0.707 MB / 415.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.2469, allocations: 35.11 kB / 415.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2469, allocations: 3.938 kB / 415.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.2472, allocations: 132.8 kB / 415.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.2476, allocations: 98.94 kB / 416 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.2524, allocations: 5.537 MB / 421.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.2529, allocations: 35.73 kB / 421.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.2529, allocations: 19.3 kB / 421.6 MB, free: 6.758 MB / 334.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.0002662/0.2532, allocations: 186.7 kB / 421.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2533, allocations: 56.92 kB / 421.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.2534, allocations: 66.34 kB / 421.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2534, allocations: 5.188 kB / 421.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.2534, allocations: 1.219 kB / 421.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.2548, allocations: 0.9576 MB / 422.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.2572, allocations: 1.309 MB / 424.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2572, allocations: 0 / 424.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.2576, allocations: 86.95 kB / 424.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.258, allocations: 163.3 kB / 424.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.258, allocations: 23.25 kB / 424.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/0.2625, allocations: 4.671 MB / 429.1 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001502/0.264, allocations: 1.623 MB / 430.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2659, allocations: 0.9508 MB / 431.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.2662, allocations: 110.9 kB / 431.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.2663, allocations: 16.34 kB / 431.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.2667, allocations: 27.09 kB / 431.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2668, allocations: 51.12 kB / 431.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.2669, allocations: 13.75 kB / 431.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.2672, allocations: 325 kB / 432.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2672, allocations: 0 / 432.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006688/0.2679, allocations: 190.2 kB / 432.4 MB, free: 13.65 MB / 350.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.002156/0.2701, allocations: 1.528 MB / 433.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.2716, allocations: 1.005 MB / 434.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2716, allocations: 4.125 kB / 434.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.2725, allocations: 0.6077 MB / 435.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.2732, allocations: 142.1 kB / 435.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.2812, allocations: 5.4 MB / 441 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2815, allocations: 252 kB / 441.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.2818, allocations: 76.73 kB / 441.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.2821, allocations: 187.4 kB / 441.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2821, allocations: 0 / 441.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05304/0.3352, allocations: 17.72 MB / 459.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.43, allocations: 16 kB / 459.3 MB, free: 2.551 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.67203504301142]