Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.0008079/0.0008079, allocations: 76.08 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.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.000807/0.000807, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8597/0.8597, allocations: 173.4 MB / 200.5 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.571e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002566/0.002591, allocations: 2.365 MB / 320.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.003388, allocations: 0.6234 MB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003492, allocations: 7.938 kB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.003605, allocations: 35.64 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.003702, allocations: 83.2 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.003926, allocations: 63.91 kB / 321.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.004142, allocations: 274.6 kB / 321.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.004306, allocations: 75.88 kB / 321.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.004433, allocations: 143.7 kB / 322.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004534, allocations: 79.72 kB / 322.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.00456, allocations: 20 kB / 322.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.004625, allocations: 35.92 kB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.004657, allocations: 47.83 kB / 322.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.004714, allocations: 83.81 kB / 322.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.004957, allocations: 271.1 kB / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004959, allocations: 0 / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.004961, allocations: 0 / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004965, allocations: 0 / 322.6 MB, free: 2.148 MB / 282.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.0006175/0.005583, allocations: 484.9 kB / 323.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.005623, allocations: 12.92 kB / 323.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.005695, allocations: 55.23 kB / 323.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.005778, allocations: 28.8 kB / 323.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.006014, allocations: 173.9 kB / 323.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.006028, allocations: 12.88 kB / 323.3 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.006058, allocations: 28.31 kB / 323.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.006366, allocations: 257 kB / 323.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006376, allocations: 192 / 323.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.006396, allocations: 16.12 kB / 323.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.006402, allocations: 4 kB / 323.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.006633, allocations: 157.9 kB / 323.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.007454, allocations: 0.7359 MB / 324.5 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.007738, allocations: 165.8 kB / 324.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.868e-05/0.007836, allocations: 68.83 kB / 324.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.00785, allocations: 11.94 kB / 324.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.007869, allocations: 30.56 kB / 324.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.00787, allocations: 0 / 324.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005214/0.008392, allocations: 262.1 kB / 325.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.008418, allocations: 55.41 kB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.008529, allocations: 174.7 kB / 325.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.008546, allocations: 29.7 kB / 325.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.008614, allocations: 156.3 kB / 325.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.008647, allocations: 55.55 kB / 325.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.008694, allocations: 37.7 kB / 325.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.008776, allocations: 322.8 kB / 325.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.008864, allocations: 59.89 kB / 325.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.008965, allocations: 91.27 kB / 326 MB, free: 14.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.009143, allocations: 146.9 kB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.009146, allocations: 3.938 kB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002747/0.00942, allocations: 218.2 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.009434, allocations: 7.938 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.00944, allocations: 4 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.009591, allocations: 36.83 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.009674, allocations: 27.98 kB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008092/0.01048, allocations: 1.358 MB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.01057, allocations: 36.02 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.01058, allocations: 8 kB / 327.9 MB, free: 12.52 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 9.125e-05/0.01067, allocations: 133.7 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.01069, allocations: 16.05 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.01073, allocations: 29.78 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01073, allocations: 4 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01073, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01074, allocations: 4 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.01121, allocations: 482.2 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.01121, allocations: 3.984 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.01129, allocations: 27.92 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.149e-05/0.01138, allocations: 36.78 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01138, allocations: 0 / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006929/0.01208, allocations: 1.35 MB / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01208, allocations: 3.938 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.01243, allocations: 359.4 kB / 330.3 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.01247, allocations: 19.92 kB / 330.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.01249, allocations: 7.938 kB / 330.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.01259, allocations: 24.09 kB / 330.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.01263, allocations: 23.91 kB / 330.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01264, allocations: 4 kB / 330.4 MB, free: 9.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.01271, allocations: 132.3 kB / 330.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01271, allocations: 0 / 330.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.01292, allocations: 59.84 kB / 330.6 MB, free: 9.629 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.0005487/0.01347, allocations: 0.8967 MB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.01381, allocations: 260.9 kB / 331.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01381, allocations: 0 / 331.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01396, allocations: 190.8 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01421, allocations: 43.91 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.01611, allocations: 2.168 MB / 334.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.591e-05/0.01619, allocations: 125.2 kB / 334.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.01625, allocations: 21.47 kB / 334.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.01632, allocations: 56.47 kB / 334.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01632, allocations: 0 / 334.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.04076, allocations: 5.4 MB / 339.7 MB, free: 480 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.123, allocations: 15.84 kB / 339.7 MB, free: 464 kB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.816979958675802]