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.001819/0.001819, allocations: 120.5 kB / 18.41 MB, free: 4.68 MB / 14.72 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.002143/0.002143, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 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 1.468/1.468, allocations: 222.9 MB / 247.1 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 47.92 kB / 358.7 MB, free: 8.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 49.44 MB / 408.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004251/0.1134, allocations: 2.494 MB / 410.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1148, allocations: 0.6272 MB / 411.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1149, allocations: 4 kB / 411.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1151, allocations: 39.64 kB / 411.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.1153, allocations: 71.33 kB / 411.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1156, allocations: 71.84 kB / 411.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.1159, allocations: 258.8 kB / 411.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1161, allocations: 99.39 kB / 411.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1163, allocations: 99.64 kB / 411.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1164, allocations: 107.5 kB / 411.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.1165, allocations: 27.94 kB / 412 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.1166, allocations: 27.98 kB / 412 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1166, allocations: 47.84 kB / 412.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1168, allocations: 119.4 kB / 412.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.1172, allocations: 258.9 kB / 412.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1172, allocations: 4 kB / 412.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1172, allocations: 0 / 412.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1172, allocations: 0 / 412.4 MB, free: 2.672 MB / 334.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.001026/0.1182, allocations: 0.5513 MB / 413 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1183, allocations: 15.89 kB / 413 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1184, allocations: 24.8 kB / 413 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.1188, allocations: 239.5 kB / 413.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1189, allocations: 16.75 kB / 413.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.1189, allocations: 24.38 kB / 413.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.1194, allocations: 230.1 kB / 413.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1194, allocations: 4 kB / 413.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1194, allocations: 8 kB / 413.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1195, allocations: 8 kB / 413.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.1199, allocations: 153.7 kB / 413.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1212, allocations: 0.8207 MB / 414.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.1217, allocations: 158.5 kB / 414.7 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.1219, allocations: 80.83 kB / 414.7 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1219, allocations: 4 kB / 414.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1219, allocations: 38.56 kB / 414.8 MB, free: 136 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 4.909e-06/0.1219, allocations: 3.984 kB / 414.8 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000926/0.1229, allocations: 345.5 kB / 415.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1229, allocations: 55.39 kB / 415.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1231, allocations: 179.2 kB / 415.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1232, allocations: 29.7 kB / 415.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1233, allocations: 152.3 kB / 415.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.1233, allocations: 59.52 kB / 415.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.1234, allocations: 33.72 kB / 415.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1236, allocations: 342.7 kB / 416 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1237, allocations: 47.97 kB / 416 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1239, allocations: 89.19 kB / 416.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.1242, allocations: 146.1 kB / 416.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1243, allocations: 0 / 416.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004871/0.1248, allocations: 222 kB / 416.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1248, allocations: 8 kB / 416.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1248, allocations: 0 / 416.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.125, allocations: 36.83 kB / 416.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1252, allocations: 27.98 kB / 416.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1266, allocations: 1.469 MB / 418 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1268, allocations: 35.86 kB / 418 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1268, allocations: 12 kB / 418 MB, free: 12.61 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: 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.0001371/0.1269, allocations: 133.8 kB / 418.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.127, allocations: 15.91 kB / 418.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1271, allocations: 21.88 kB / 418.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1271, allocations: 3.938 kB / 418.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1271, allocations: 0 / 418.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.1271, allocations: 7.938 kB / 418.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.1279, allocations: 0.5187 MB / 418.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1279, allocations: 0 / 418.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1281, allocations: 23.98 kB / 418.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.1282, allocations: 40.81 kB / 418.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1282, allocations: 4 kB / 418.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.1295, allocations: 1.457 MB / 420.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1295, allocations: 11.95 kB / 420.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.1302, allocations: 352.1 kB / 420.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.1303, allocations: 101 kB / 420.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1303, allocations: 8 kB / 420.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1305, allocations: 24.03 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.1306, allocations: 15.97 kB / 420.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1306, allocations: 4 kB / 420.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1307, allocations: 132.2 kB / 420.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1307, allocations: 0 / 420.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.1311, allocations: 59.89 kB / 420.9 MB, free: 9.445 MB / 350.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.0001415/0.1312, allocations: 107.3 kB / 421.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.1318, allocations: 262.6 kB / 421.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1318, allocations: 0 / 421.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.1321, allocations: 198.6 kB / 421.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1324, allocations: 40.16 kB / 421.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.1333, allocations: 487.6 kB / 422 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1337, allocations: 0.7359 MB / 422.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1338, allocations: 15.44 kB / 422.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1338, allocations: 4 kB / 422.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Templates: time 0.005723/0.1395, allocations: 3.162 MB / 425.9 MB, free: 4.375 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.731949598994106]