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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 101.3 kB / 17.06 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 200.1 kB / 18 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009241/0.0009241, allocations: 47.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2518, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003496/0.2553, allocations: 2.506 MB / 403.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.2563, allocations: 0.6272 MB / 403.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2564, allocations: 4 kB / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2566, allocations: 39.64 kB / 403.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2567, allocations: 71.34 kB / 404 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.257, allocations: 67.86 kB / 404 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.2573, allocations: 266.8 kB / 404.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2575, allocations: 107.4 kB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2576, allocations: 95.64 kB / 404.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2578, allocations: 111.5 kB / 404.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.2578, allocations: 20 kB / 404.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.2579, allocations: 24 kB / 404.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.2579, allocations: 47.84 kB / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.2581, allocations: 127.3 kB / 404.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2584, allocations: 248.3 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2584, allocations: 0 / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2584, allocations: 0 / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2584, allocations: 7.938 kB / 405 MB, free: 4.531 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.0009321/0.2593, allocations: 0.542 MB / 405.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2594, allocations: 11.89 kB / 405.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2595, allocations: 28.66 kB / 405.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.2598, allocations: 240 kB / 405.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2599, allocations: 16.81 kB / 405.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.2599, allocations: 16.38 kB / 405.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.2603, allocations: 242.1 kB / 406.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2604, allocations: 4 kB / 406.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2604, allocations: 4 kB / 406.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2604, allocations: 8 kB / 406.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.2608, allocations: 153.7 kB / 406.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2621, allocations: 0.8087 MB / 407.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.2625, allocations: 168.8 kB / 407.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.2627, allocations: 84.75 kB / 407.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2627, allocations: 0 / 407.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2628, allocations: 34.56 kB / 407.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.2628, allocations: 0 / 407.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008908/0.2637, allocations: 335.2 kB / 407.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2637, allocations: 59.41 kB / 407.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2639, allocations: 179.1 kB / 408 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.2639, allocations: 33.7 kB / 408 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.264, allocations: 144.1 kB / 408.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.264, allocations: 55.2 kB / 408.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.2641, allocations: 37.7 kB / 408.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2642, allocations: 330.8 kB / 408.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2644, allocations: 51.97 kB / 408.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.2646, allocations: 93.75 kB / 408.7 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2649, allocations: 142.5 kB / 408.8 MB, free: 480 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2649, allocations: 0 / 408.8 MB, free: 480 kB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004538/0.2653, allocations: 229.9 kB / 409 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2654, allocations: 4 kB / 409 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2654, allocations: 4 kB / 409.1 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.2656, allocations: 32.77 kB / 409.1 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2657, allocations: 39.97 kB / 409.1 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.267, allocations: 1.461 MB / 410.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.2672, allocations: 43.72 kB / 410.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2672, allocations: 4 kB / 410.6 MB, free: 14.5 MB / 334.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.0001262/0.2673, allocations: 133.8 kB / 410.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.2674, allocations: 15.81 kB / 410.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.2674, allocations: 21.86 kB / 410.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2674, allocations: 8 kB / 410.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2674, allocations: 4 kB / 410.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.2674, allocations: 3.938 kB / 410.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.2682, allocations: 0.5141 MB / 411.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2682, allocations: 0 / 411.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.2683, allocations: 23.98 kB / 411.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.2685, allocations: 36.97 kB / 411.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2685, allocations: 8 kB / 411.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.2695, allocations: 1.469 MB / 412.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2695, allocations: 3.938 kB / 412.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.2701, allocations: 348 kB / 413.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.2702, allocations: 105 kB / 413.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.2703, allocations: 8 kB / 413.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2705, allocations: 23.97 kB / 413.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.2706, allocations: 15.92 kB / 413.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2706, allocations: 8 kB / 413.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.2707, allocations: 128.2 kB / 413.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2707, allocations: 4 kB / 413.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.271, allocations: 63.84 kB / 413.6 MB, free: 11.32 MB / 334.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 9.839e-05/0.2711, allocations: 99.19 kB / 413.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.2717, allocations: 270.5 kB / 413.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2717, allocations: 0 / 413.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.2719, allocations: 194.8 kB / 414.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.2723, allocations: 38.73 kB / 414.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.273, allocations: 457.5 kB / 414.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2733, allocations: 0.732 MB / 415.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.2734, allocations: 21.47 kB / 415.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.2734, allocations: 19.44 kB / 415.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.2734, allocations: 0 / 415.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of Templates: time 0.005451/0.2789, allocations: 2.448 MB / 417.8 MB, free: 7 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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) 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) Reference file matches