Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 64.03 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09909, allocations: 53.32 MB / 427.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004715/0.1038, allocations: 2.536 MB / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1053, allocations: 0.674 MB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.1055, allocations: 4 kB / 430.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1057, allocations: 39.64 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.106, allocations: 71.34 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1063, allocations: 67.84 kB / 430.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.1067, allocations: 258.8 kB / 430.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1069, allocations: 83.36 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1071, allocations: 95.64 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1073, allocations: 115.5 kB / 431.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.1074, allocations: 20 kB / 431.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.1075, allocations: 24 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.1075, allocations: 51.84 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1077, allocations: 123.3 kB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1081, allocations: 258.9 kB / 431.5 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1081, allocations: 0 / 431.5 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1081, allocations: 3.938 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1081, allocations: 0 / 431.5 MB, free: 72 kB / 350.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.1873/0.2954, allocations: 0.5401 MB / 432.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2954, allocations: 10.91 kB / 432.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2955, allocations: 27.39 kB / 432.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.2958, allocations: 235.7 kB / 432.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2958, allocations: 16.88 kB / 432.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.2959, allocations: 20.06 kB / 432.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.2963, allocations: 229.4 kB / 432.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2963, allocations: 2.875 kB / 432.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2964, allocations: 14.06 kB / 432.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2964, allocations: 6.859 kB / 432.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.2968, allocations: 155.9 kB / 432.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.2979, allocations: 0.8212 MB / 433.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.2982, allocations: 148.7 kB / 433.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2984, allocations: 74.55 kB / 433.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2984, allocations: 3.438 kB / 433.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.2984, allocations: 31.83 kB / 433.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2984, allocations: 3.406 kB / 433.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007722/0.2992, allocations: 335 kB / 434.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.2992, allocations: 57.59 kB / 434.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2993, allocations: 174.2 kB / 434.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2994, allocations: 29.8 kB / 434.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.2994, allocations: 151.3 kB / 434.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.2994, allocations: 59.91 kB / 434.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.2995, allocations: 41.14 kB / 434.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.2995, allocations: 329.8 kB / 435 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2997, allocations: 54.06 kB / 435.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2998, allocations: 91.39 kB / 435.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.3001, allocations: 146.4 kB / 435.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3001, allocations: 0 / 435.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004214/0.3005, allocations: 215.4 kB / 435.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3005, allocations: 12.36 kB / 435.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3006, allocations: 6.031 kB / 435.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.3007, allocations: 35.88 kB / 435.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3009, allocations: 34.52 kB / 435.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008395/0.3017, allocations: 1.471 MB / 437.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3019, allocations: 28.8 kB / 437.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3019, allocations: 7.719 kB / 437.1 MB, free: 8.262 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 8.247e-05/0.302, allocations: 138.7 kB / 437.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.302, allocations: 15.84 kB / 437.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.3021, allocations: 23.48 kB / 437.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3021, allocations: 3 kB / 437.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3021, allocations: 2.094 kB / 437.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3021, allocations: 3.438 kB / 437.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.3027, allocations: 0.5161 MB / 437.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3027, allocations: 6.328 kB / 437.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3028, allocations: 25.25 kB / 437.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3029, allocations: 32.06 kB / 437.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.303, allocations: 3.344 kB / 437.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007341/0.3037, allocations: 1.468 MB / 439.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3037, allocations: 1.094 kB / 439.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.3042, allocations: 354.7 kB / 439.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.3043, allocations: 104.2 kB / 439.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3043, allocations: 7.375 kB / 439.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3045, allocations: 23.97 kB / 439.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3046, allocations: 19.98 kB / 439.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3046, allocations: 3.188 kB / 439.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.3046, allocations: 128.4 kB / 440 MB, free: 5.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3046, allocations: 0 / 440 MB, free: 5.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3049, allocations: 58.83 kB / 440 MB, free: 5.805 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 8.475e-05/0.305, allocations: 104.2 kB / 440.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.3055, allocations: 261.4 kB / 440.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3055, allocations: 0 / 440.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.3057, allocations: 186.1 kB / 440.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.306, allocations: 35.78 kB / 440.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.3067, allocations: 479.9 kB / 441.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3068, allocations: 0.7307 MB / 441.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.3069, allocations: 16.8 kB / 441.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.307, allocations: 19.5 kB / 441.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.307, allocations: 0 / 441.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Templates: time 0.005979/0.3129, allocations: 2.476 MB / 444.3 MB, free: 4.258 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.456718444824219]