Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001607/0.001607, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.001987/0.001987, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.409/1.409, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",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.001986/0.001986, allocations: 59.91 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2458, allocations: 49.15 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005982/0.2518, allocations: 5.636 MB / 402 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.2547, allocations: 1.474 MB / 403.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.2552, allocations: 18.03 kB / 403.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.2558, allocations: 195.3 kB / 403.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008347/0.2566, allocations: 405.9 kB / 404.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.2572, allocations: 264.7 kB / 404.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.2585, allocations: 1.357 MB / 405.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.2589, allocations: 274.8 kB / 405.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.2596, allocations: 0.5189 MB / 406.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.2603, allocations: 0.5808 MB / 407 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.2605, allocations: 121.7 kB / 407.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.2608, allocations: 120.1 kB / 407.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.261, allocations: 263.5 kB / 407.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.2615, allocations: 0.6096 MB / 408.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.2629, allocations: 1.409 MB / 409.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2629, allocations: 0 / 409.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2629, allocations: 1.375 kB / 409.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.2629, allocations: 0 / 409.6 MB, free: 0.8164 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002644/0.2656, allocations: 1.446 MB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2656, allocations: 13.86 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.2658, allocations: 127.6 kB / 411.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.2661, allocations: 134.9 kB / 411.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2671, allocations: 0.5771 MB / 411.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.2674, allocations: 308.5 kB / 412.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2675, allocations: 71.59 kB / 412.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2691, allocations: 0.986 MB / 413.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2691, allocations: 0.9375 kB / 413.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.2692, allocations: 34.09 kB / 413.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2692, allocations: 16.41 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.2705, allocations: 0.627 MB / 413.9 MB, free: 13.75 MB / 334.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.005572/0.2761, allocations: 2.615 MB / 416.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/0.2795, allocations: 0.7547 MB / 417.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.2805, allocations: 319.7 kB / 417.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.2806, allocations: 18 kB / 417.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.2807, allocations: 55.53 kB / 417.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.326e-06/0.2807, allocations: 0 / 417.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00351/0.2842, allocations: 1.028 MB / 418.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007387/0.2849, allocations: 0.949 MB / 419.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.2864, allocations: 0.7845 MB / 420.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2866, allocations: 45.95 kB / 420.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/0.2871, allocations: 422.6 kB / 420.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.2874, allocations: 268 kB / 421.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003859/0.2878, allocations: 161.4 kB / 421.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.288, allocations: 336.2 kB / 421.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/0.2888, allocations: 258.9 kB / 421.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.2902, allocations: 0.5946 MB / 422.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.2919, allocations: 0.663 MB / 423.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2919, allocations: 1.281 kB / 423.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002625/0.2945, allocations: 0.945 MB / 424.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/0.2946, allocations: 84.73 kB / 424.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.2946, allocations: 5.281 kB / 424.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.2951, allocations: 127.9 kB / 424.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009923/0.2961, allocations: 153.9 kB / 424.4 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008732/0.3049, allocations: 6.804 MB / 431.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.3066, allocations: 111.3 kB / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.3068, allocations: 27.94 kB / 431.4 MB, free: 14.75 MB / 350.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.0008947/0.3077, allocations: 237.7 kB / 431.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005787/0.3083, allocations: 103.4 kB / 431.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.3087, allocations: 108.9 kB / 431.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3087, allocations: 11.94 kB / 431.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.3087, allocations: 0 / 431.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/0.3111, allocations: 0.9699 MB / 432.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.3164, allocations: 1.716 MB / 434.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3164, allocations: 4 kB / 434.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.3176, allocations: 155.8 kB / 434.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.3177, allocations: 24.84 kB / 434.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.3178, allocations: 15.98 kB / 434.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.3194, allocations: 1.303 MB / 436 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3194, allocations: 0 / 436 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.3227, allocations: 1.09 MB / 437.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009391/0.3237, allocations: 187.1 kB / 437.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.3241, allocations: 16 kB / 437.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.3253, allocations: 39.97 kB / 437.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3254, allocations: 48.56 kB / 437.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.3255, allocations: 23.98 kB / 437.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.3267, allocations: 0.542 MB / 437.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3267, allocations: 0 / 437.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001502/0.3282, allocations: 299.7 kB / 438.2 MB, free: 7.555 MB / 350.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.002789/0.331, allocations: 1.645 MB / 439.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.3334, allocations: 1.355 MB / 441.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3334, allocations: 4 kB / 441.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.3341, allocations: 414.5 kB / 441.6 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.3357, allocations: 282.9 kB / 441.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.3491, allocations: 7.843 MB / 449.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.3497, allocations: 0.9796 MB / 450.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005838/0.3503, allocations: 131.5 kB / 450.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.3508, allocations: 355.3 kB / 451.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3508, allocations: 0 / 451.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08745/0.4383, allocations: 26.93 MB / 478.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.2, allocations: 3.953 kB / 478.2 MB, free: 15.17 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.633752041030675]