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.00156/0.00156, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001751/0.001751, allocations: 216.7 kB / 24.49 MB, free: 4.031 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.331/1.331, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.002936/0.002936, allocations: 52.44 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.314, allocations: 49.17 MB / 396.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004797/0.3188, allocations: 3.514 MB / 399.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3205, allocations: 0.9965 MB / 400.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.321, allocations: 14.56 kB / 400.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.3214, allocations: 104.3 kB / 401 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006814/0.3221, allocations: 194.8 kB / 401.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3225, allocations: 125.3 kB / 401.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009387/0.3235, allocations: 0.633 MB / 401.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.3237, allocations: 135.7 kB / 402 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.324, allocations: 244.1 kB / 402.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.3244, allocations: 281.5 kB / 402.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.3245, allocations: 53.19 kB / 402.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3246, allocations: 53.09 kB / 402.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.3247, allocations: 115.3 kB / 402.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.3249, allocations: 292.2 kB / 403.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.3256, allocations: 0.6471 MB / 403.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3256, allocations: 4 kB / 403.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3256, allocations: 1.406 kB / 403.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.3256, allocations: 3.938 kB / 403.7 MB, free: 4.527 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.001243/0.3268, allocations: 0.7825 MB / 404.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3269, allocations: 13.7 kB / 404.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.327, allocations: 77.5 kB / 404.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3271, allocations: 64.84 kB / 404.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.3277, allocations: 338.8 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3278, allocations: 108 kB / 405.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.3278, allocations: 34.06 kB / 405.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.3285, allocations: 483 kB / 405.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3285, allocations: 0 / 405.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.3286, allocations: 16.41 kB / 405.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3286, allocations: 8.562 kB / 405.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.3291, allocations: 282.7 kB / 405.9 MB, free: 3.078 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.001921/0.3311, allocations: 1.261 MB / 407.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3321, allocations: 340.2 kB / 407.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3323, allocations: 133.4 kB / 407.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.3323, allocations: 5.672 kB / 407.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.3324, allocations: 46.67 kB / 407.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.3324, allocations: 4 kB / 407.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0009803/0.3333, allocations: 456.3 kB / 408.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.3334, allocations: 449.2 kB / 408.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.3339, allocations: 447.6 kB / 409 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3339, allocations: 33.52 kB / 409 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.334, allocations: 249.4 kB / 409.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.3341, allocations: 112.6 kB / 409.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3342, allocations: 76.52 kB / 409.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.3343, allocations: 355.1 kB / 409.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.3345, allocations: 105.1 kB / 409.9 MB, free: 344 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.3348, allocations: 251.4 kB / 410.2 MB, free: 144 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.3352, allocations: 287.7 kB / 410.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3352, allocations: 3.938 kB / 410.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007316/0.336, allocations: 418.5 kB / 410.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.336, allocations: 31.72 kB / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.336, allocations: 0 / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.3362, allocations: 51.41 kB / 410.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3365, allocations: 72.83 kB / 411 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.339, allocations: 2.757 MB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.3394, allocations: 43.45 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.3394, allocations: 13.16 kB / 413.8 MB, free: 12.99 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.3397, allocations: 163.8 kB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.3398, allocations: 55.19 kB / 414 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.3399, allocations: 54.39 kB / 414.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3399, allocations: 3.406 kB / 414.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3399, allocations: 4 kB / 414.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007227/0.3406, allocations: 0.6541 MB / 414.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.3419, allocations: 0.877 MB / 415.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3419, allocations: 0 / 415.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.3423, allocations: 72.52 kB / 415.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3423, allocations: 5.156 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3423, allocations: 6.375 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3423, allocations: 1.156 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3423, allocations: 0 / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.3431, allocations: 0.5201 MB / 416.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.3433, allocations: 85.97 kB / 416.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.3434, allocations: 15.7 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.3437, allocations: 12.31 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.3438, allocations: 22.67 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3438, allocations: 9.75 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003766/0.3441, allocations: 323.6 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3441, allocations: 0 / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.3446, allocations: 131 kB / 416.8 MB, free: 10.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.3457, allocations: 1.07 MB / 417.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009351/0.3467, allocations: 0.5565 MB / 418.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3467, allocations: 9.062 kB / 418.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.3469, allocations: 125.4 kB / 418.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.3475, allocations: 136.4 kB / 418.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.3537, allocations: 4.253 MB / 423 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.3542, allocations: 0.8237 MB / 423.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.3544, allocations: 58.17 kB / 423.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3547, allocations: 162.7 kB / 424 MB, free: 5.695 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3547, allocations: 0 / 424 MB, free: 5.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06787/0.4225, allocations: 13.05 MB / 437 MB, free: 9.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.66, allocations: 7.891 kB / 437 MB, free: 9.598 MB / 350.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.923459727084264]