Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.0008007/0.0008007, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008159/0.0008159, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.877/0.877, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.245e-05, allocations: 8.75 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002499/0.002522, allocations: 2.416 MB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.003394, allocations: 0.6472 MB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.003506, allocations: 7.938 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.003645, allocations: 31.64 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.003749, allocations: 75.28 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.003995, allocations: 67.84 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.00421, allocations: 278.6 kB / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.00436, allocations: 63.95 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.004489, allocations: 151.7 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.004595, allocations: 87.7 kB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.004622, allocations: 20 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-05/0.004685, allocations: 27.94 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.004718, allocations: 47.83 kB / 328.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.004772, allocations: 79.83 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.005019, allocations: 267.1 kB / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.005023, allocations: 0 / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005024, allocations: 0 / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005029, allocations: 0 / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006409/0.00567, allocations: 484.6 kB / 329.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.005709, allocations: 8.031 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.005797, allocations: 63.22 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.0059, allocations: 32.75 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.006195, allocations: 180.2 kB / 329.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.00621, allocations: 12.88 kB / 329.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.006242, allocations: 28.31 kB / 329.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.006807, allocations: 257 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.006818, allocations: 192 / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.006836, allocations: 12.12 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.006843, allocations: 8 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.007082, allocations: 157.9 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.007949, allocations: 0.736 MB / 330.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.008219, allocations: 154.5 kB / 330.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.008321, allocations: 76.75 kB / 331 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.008334, allocations: 4 kB / 331 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.008353, allocations: 30.56 kB / 331 MB, free: 9.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.008355, allocations: 3.938 kB / 331 MB, free: 9.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005456/0.0089, allocations: 273 kB / 331.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.008926, allocations: 51.41 kB / 331.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.009039, allocations: 175.2 kB / 331.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.009054, allocations: 29.7 kB / 331.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.009122, allocations: 152.4 kB / 331.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.009155, allocations: 63.59 kB / 331.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.009203, allocations: 41.66 kB / 331.8 MB, free: 8.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.009279, allocations: 322.8 kB / 332.1 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.009365, allocations: 55.91 kB / 332.1 MB, free: 8.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.009472, allocations: 92.25 kB / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.00965, allocations: 143 kB / 332.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.009653, allocations: 3.938 kB / 332.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002679/0.00992, allocations: 214 kB / 332.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.009937, allocations: 11.92 kB / 332.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.009944, allocations: 4 kB / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.01009, allocations: 32.97 kB / 332.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.01017, allocations: 31.98 kB / 332.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000785/0.01096, allocations: 1.354 MB / 334 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.01105, allocations: 39.84 kB / 334.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.01106, allocations: 4 kB / 334.1 MB, free: 6.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.01117, allocations: 137.8 kB / 334.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.01119, allocations: 15.91 kB / 334.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.01122, allocations: 21.81 kB / 334.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.01123, allocations: 7.984 kB / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.01123, allocations: 0 / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01124, allocations: 0 / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.01172, allocations: 486.1 kB / 334.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01172, allocations: 4 kB / 334.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.01181, allocations: 27.92 kB / 334.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.01189, allocations: 40.77 kB / 334.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.01189, allocations: 0 / 334.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006635/0.01256, allocations: 1.354 MB / 336.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01256, allocations: 0 / 336.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.0129, allocations: 356.1 kB / 336.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.01294, allocations: 31.8 kB / 336.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.01296, allocations: 3.938 kB / 336.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.01305, allocations: 27.97 kB / 336.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.01334, allocations: 27.84 kB / 336.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.01335, allocations: 4 kB / 336.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.01341, allocations: 140.3 kB / 336.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01341, allocations: 4 kB / 336.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01362, allocations: 55.89 kB / 336.8 MB, free: 3.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/0.01414, allocations: 0.8797 MB / 337.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.01447, allocations: 254.5 kB / 337.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01447, allocations: 4 kB / 337.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.0146, allocations: 186.5 kB / 338.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.01484, allocations: 26.8 kB / 338.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.01657, allocations: 2.192 MB / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.01664, allocations: 125.2 kB / 340.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.055e-05/0.01669, allocations: 13.48 kB / 340.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.01676, allocations: 52.48 kB / 340.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01676, allocations: 0 / 340.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.03503, allocations: 5.395 MB / 345.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.764, allocations: 4.844 kB / 345.9 MB, free: 9.98 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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: 8.468116171658039]