Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001287/0.001287, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001671/0.001671, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.362/1.362, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001755/0.001755, allocations: 59.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2372, allocations: 49.15 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003092/0.2403, allocations: 2.347 MB / 398.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.2412, allocations: 0.6248 MB / 399.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2413, allocations: 7.781 kB / 399.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2414, allocations: 34.61 kB / 399.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2416, allocations: 68.14 kB / 399.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.2418, allocations: 65.45 kB / 399.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.242, allocations: 262.9 kB / 399.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2422, allocations: 73.98 kB / 399.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2423, allocations: 97.91 kB / 399.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.2424, allocations: 101.1 kB / 400 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.2425, allocations: 23.92 kB / 400 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.2425, allocations: 28.47 kB / 400.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.2426, allocations: 46.92 kB / 400.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.2427, allocations: 95.36 kB / 400.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.243, allocations: 264.1 kB / 400.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.243, allocations: 1.312 kB / 400.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.243, allocations: 0 / 400.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.243, allocations: 0 / 400.5 MB, free: 6.309 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00081/0.2438, allocations: 480 kB / 400.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2438, allocations: 14.23 kB / 400.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.2439, allocations: 63.53 kB / 401 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.244, allocations: 36.05 kB / 401 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.2443, allocations: 181.3 kB / 401.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2443, allocations: 17.81 kB / 401.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.2443, allocations: 22.62 kB / 401.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2447, allocations: 256.9 kB / 401.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2447, allocations: 0.6562 kB / 401.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.2448, allocations: 10.41 kB / 401.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2448, allocations: 4.531 kB / 401.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.2451, allocations: 158.9 kB / 401.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2462, allocations: 0.7446 MB / 402.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.2466, allocations: 150.9 kB / 402.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.2467, allocations: 75.31 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2467, allocations: 1.469 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2468, allocations: 36.53 kB / 402.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.2468, allocations: 3.938 kB / 402.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007316/0.2475, allocations: 256.9 kB / 402.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.2475, allocations: 54.12 kB / 403 MB, free: 4.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2476, allocations: 174.3 kB / 403.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2476, allocations: 30.7 kB / 403.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.2477, allocations: 148.5 kB / 403.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.2477, allocations: 58.33 kB / 403.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.2478, allocations: 50.22 kB / 403.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.2478, allocations: 326.6 kB / 403.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.248, allocations: 57.38 kB / 403.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2481, allocations: 90.12 kB / 403.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.2484, allocations: 141.4 kB / 404 MB, free: 3.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2484, allocations: 0 / 404 MB, free: 3.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004173/0.2488, allocations: 224.2 kB / 404.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2488, allocations: 5.281 kB / 404.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2488, allocations: 2.062 kB / 404.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.249, allocations: 34.22 kB / 404.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.2491, allocations: 38.56 kB / 404.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008144/0.25, allocations: 1.359 MB / 405.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.2501, allocations: 36.7 kB / 405.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2501, allocations: 5.906 kB / 405.7 MB, free: 2.258 MB / 318.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: 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 8.355e-05/0.2502, allocations: 136 kB / 405.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.2503, allocations: 15.84 kB / 405.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.2503, allocations: 23.92 kB / 405.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2503, allocations: 6.688 kB / 405.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2503, allocations: 5.25 kB / 405.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2503, allocations: 0 / 405.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.2509, allocations: 480.9 kB / 406.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2509, allocations: 1.594 kB / 406.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.251, allocations: 25 kB / 406.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.2511, allocations: 32.12 kB / 406.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2512, allocations: 5.969 kB / 406.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00073/0.2519, allocations: 1.361 MB / 407.8 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2519, allocations: 1.875 kB / 407.8 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.2524, allocations: 351.4 kB / 408.2 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.2525, allocations: 30.97 kB / 408.2 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.2525, allocations: 10.02 kB / 408.2 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.2527, allocations: 22.52 kB / 408.2 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.2528, allocations: 18.92 kB / 408.2 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2528, allocations: 2.75 kB / 408.2 MB, free: 140 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.2529, allocations: 128.3 kB / 408.4 MB, free: 48 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2529, allocations: 0 / 408.4 MB, free: 48 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.2532, allocations: 66.58 kB / 408.4 MB, free: 28 kB / 318.1 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.0009513/0.2541, allocations: 0.8833 MB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.2547, allocations: 262.1 kB / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2547, allocations: 320 / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.255, allocations: 183.6 kB / 409.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2553, allocations: 32.27 kB / 409.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.2582, allocations: 2.222 MB / 412 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.2583, allocations: 121.8 kB / 412.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.2584, allocations: 17.44 kB / 412.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2585, allocations: 60.52 kB / 412.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2585, allocations: 0 / 412.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.2942, allocations: 5.261 MB / 417.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.28, allocations: 6.031 kB / 417.5 MB, free: 10.55 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 13.711967881768942]