Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001957/0.001957, allocations: 112.2 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.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.002294/0.002294, allocations: 180.4 kB / 23.72 MB, free: 4.699 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.377/1.377, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 51.92 kB / 370.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2255, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006925/0.2324, allocations: 5.655 MB / 428.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.2352, allocations: 1.426 MB / 429.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.2358, allocations: 19.88 kB / 429.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.2365, allocations: 206.3 kB / 429.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.2376, allocations: 392.7 kB / 430.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.2383, allocations: 267.5 kB / 430.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.2402, allocations: 1.355 MB / 431.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.2407, allocations: 279.8 kB / 432.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.2415, allocations: 0.5255 MB / 432.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009963/0.2425, allocations: 0.5875 MB / 433.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.2427, allocations: 119.9 kB / 433.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.243, allocations: 120 kB / 433.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.2433, allocations: 251.2 kB / 433.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008598/0.2442, allocations: 0.6066 MB / 434.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.2459, allocations: 1.412 MB / 435.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2459, allocations: 4 kB / 435.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2459, allocations: 0 / 435.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.2459, allocations: 0 / 435.8 MB, free: 1.328 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002931/0.2488, allocations: 1.436 MB / 437.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2489, allocations: 8.031 kB / 437.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.2491, allocations: 132.6 kB / 437.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.2493, allocations: 140.2 kB / 437.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2504, allocations: 0.59 MB / 438.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.2507, allocations: 309.9 kB / 438.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2508, allocations: 64.38 kB / 438.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.2525, allocations: 0.9832 MB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2525, allocations: 3.953 kB / 439.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.2526, allocations: 32 kB / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.2526, allocations: 19.94 kB / 439.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.254, allocations: 0.6324 MB / 440.2 MB, free: 12.73 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.004652/0.2586, allocations: 2.594 MB / 442.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.2612, allocations: 0.7503 MB / 443.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/0.262, allocations: 326.6 kB / 443.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.262, allocations: 12.64 kB / 443.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.2621, allocations: 47.22 kB / 443.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.906e-06/0.2621, allocations: 0 / 443.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002584/0.2646, allocations: 1.04 MB / 444.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005476/0.2652, allocations: 0.9489 MB / 445.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2663, allocations: 0.7826 MB / 446.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.2664, allocations: 45.7 kB / 446.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.2668, allocations: 425 kB / 447.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.267, allocations: 265.7 kB / 447.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.2673, allocations: 158.6 kB / 447.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2675, allocations: 341.9 kB / 447.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.2681, allocations: 253.9 kB / 448.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009293/0.269, allocations: 0.5763 MB / 448.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2702, allocations: 0.6678 MB / 449.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2702, allocations: 0 / 449.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001855/0.2721, allocations: 0.9552 MB / 450.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.2722, allocations: 89.05 kB / 450.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2722, allocations: 3.938 kB / 450.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.2725, allocations: 132.2 kB / 450.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.2732, allocations: 151.8 kB / 450.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.2795, allocations: 6.812 MB / 457.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/0.2805, allocations: 107.4 kB / 457.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.2806, allocations: 23.98 kB / 457.6 MB, free: 10.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004211/0.281, allocations: 237.8 kB / 457.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.2812, allocations: 107.3 kB / 457.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.2814, allocations: 104.9 kB / 458.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.2814, allocations: 8 kB / 458.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2814, allocations: 0 / 458.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/0.2828, allocations: 0.9738 MB / 459 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.2857, allocations: 1.716 MB / 460.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2857, allocations: 4 kB / 460.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007523/0.2865, allocations: 155.8 kB / 460.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.316e-05/0.2866, allocations: 20.84 kB / 460.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.2866, allocations: 16 kB / 460.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.2877, allocations: 1.299 MB / 462.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2877, allocations: 0 / 462.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.2897, allocations: 1.09 MB / 463.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.2901, allocations: 183.1 kB / 463.5 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.2902, allocations: 23.98 kB / 463.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.2909, allocations: 47.83 kB / 463.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.291, allocations: 48.56 kB / 463.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.291, allocations: 19.94 kB / 463.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007398/0.2917, allocations: 0.5537 MB / 464.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2917, allocations: 0 / 464.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007652/0.2925, allocations: 295.7 kB / 464.5 MB, free: 2.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/0.2951, allocations: 1.66 MB / 466.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.2973, allocations: 1.354 MB / 467.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.2973, allocations: 4 kB / 467.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.2981, allocations: 398.3 kB / 467.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.2993, allocations: 278.7 kB / 468.2 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.3115, allocations: 7.839 MB / 476 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.3122, allocations: 0.9835 MB / 477 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005226/0.3127, allocations: 131.4 kB / 477.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.3132, allocations: 355.3 kB / 477.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3132, allocations: 0 / 477.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07799/0.3912, allocations: 26.92 MB / 0.4926 GB, free: 11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.61, allocations: 6.359 kB / 0.4926 GB, free: 11 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 16.988114776089787]