Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 99.39 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002243/0.2612, allocations: 2.086 MB / 378.7 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009731/0.2622, allocations: 0.6932 MB / 379.4 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2624, allocations: 3.688 kB / 379.4 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2625, allocations: 26.98 kB / 379.4 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2626, allocations: 62.94 kB / 379.5 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2628, allocations: 47.86 kB / 379.5 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.2631, allocations: 259.8 kB / 379.8 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2633, allocations: 87.84 kB / 379.9 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2635, allocations: 82.33 kB / 379.9 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2636, allocations: 94.67 kB / 380 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.2637, allocations: 11.69 kB / 380 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.2638, allocations: 20.84 kB / 380.1 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.2638, allocations: 34.5 kB / 380.1 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.264, allocations: 130.7 kB / 380.2 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.2643, allocations: 245.3 kB / 380.5 MB, free: 42.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2643, allocations: 0 / 380.5 MB, free: 42.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2643, allocations: 0 / 380.5 MB, free: 42.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2643, allocations: 0 / 380.5 MB, free: 42.61 MB / 298.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.0009003/0.2652, allocations: 0.5121 MB / 381 MB, free: 42.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2653, allocations: 9.219 kB / 381 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.2654, allocations: 31.56 kB / 381 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2657, allocations: 234.5 kB / 381.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2657, allocations: 22.12 kB / 381.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2658, allocations: 17.69 kB / 381.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.2662, allocations: 231.8 kB / 381.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2663, allocations: 0 / 381.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.2663, allocations: 14.56 kB / 381.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2663, allocations: 5.406 kB / 381.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.2667, allocations: 165.3 kB / 381.7 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.268, allocations: 0.8304 MB / 382.5 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2683, allocations: 173 kB / 382.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2685, allocations: 81.98 kB / 382.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2686, allocations: 2.281 kB / 382.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2686, allocations: 35.58 kB / 382.8 MB, free: 40.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2686, allocations: 4 kB / 382.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008518/0.2695, allocations: 353.9 kB / 383.2 MB, free: 40.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2695, allocations: 52.59 kB / 383.2 MB, free: 40.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2696, allocations: 176.7 kB / 383.4 MB, free: 40.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2697, allocations: 30.89 kB / 383.4 MB, free: 40.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.2697, allocations: 142.4 kB / 383.6 MB, free: 40.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2698, allocations: 62.52 kB / 383.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.2698, allocations: 8.781 kB / 383.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.2699, allocations: 327 kB / 383.9 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.27, allocations: 55.91 kB / 384 MB, free: 39.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.2702, allocations: 99.56 kB / 384.1 MB, free: 39.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.2705, allocations: 148.6 kB / 384.2 MB, free: 39.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2705, allocations: 3.938 kB / 384.2 MB, free: 39.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004763/0.271, allocations: 232.1 kB / 384.5 MB, free: 39.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.271, allocations: 8.969 kB / 384.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.271, allocations: 1.875 kB / 384.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.2713, allocations: 32.22 kB / 384.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2714, allocations: 35.75 kB / 384.5 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.2724, allocations: 1.366 MB / 385.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2726, allocations: 46.56 kB / 386 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2727, allocations: 5.5 kB / 386 MB, free: 37.95 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 ($PRE.onOffController.y,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.0001116/0.2728, allocations: 134 kB / 386.1 MB, free: 37.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2728, allocations: 16.56 kB / 386.1 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.2729, allocations: 24.67 kB / 386.1 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2729, allocations: 2.312 kB / 386.1 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2729, allocations: 5.531 kB / 386.1 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2729, allocations: 0 / 386.1 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.2737, allocations: 0.5181 MB / 386.7 MB, free: 37.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2737, allocations: 0 / 386.7 MB, free: 37.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.2738, allocations: 35.38 kB / 386.7 MB, free: 37.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.274, allocations: 30.69 kB / 386.7 MB, free: 37.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.274, allocations: 12.59 kB / 386.7 MB, free: 37.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008478/0.2748, allocations: 1.361 MB / 388.1 MB, free: 35.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2749, allocations: 7.922 kB / 388.1 MB, free: 35.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.2755, allocations: 366.5 kB / 388.5 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.2756, allocations: 103.2 kB / 388.6 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.2757, allocations: 2.062 kB / 388.6 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.2759, allocations: 37.25 kB / 388.6 MB, free: 35.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.276, allocations: 19.41 kB / 388.6 MB, free: 35.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.276, allocations: 7.156 kB / 388.6 MB, free: 35.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2761, allocations: 129.2 kB / 388.8 MB, free: 35.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2761, allocations: 3.938 kB / 388.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.2765, allocations: 57.69 kB / 388.8 MB, free: 35.38 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.0001529/0.2766, allocations: 115.4 kB / 388.9 MB, free: 35.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005994/0.2772, allocations: 269.3 kB / 389.2 MB, free: 35.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2772, allocations: 4 kB / 389.2 MB, free: 35.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.2775, allocations: 198.2 kB / 389.4 MB, free: 34.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.2779, allocations: 25.14 kB / 389.4 MB, free: 34.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.2785, allocations: 0.5679 MB / 390 MB, free: 34.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2787, allocations: 0.732 MB / 390.7 MB, free: 33.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.2788, allocations: 17.55 kB / 390.7 MB, free: 33.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2788, allocations: 19.42 kB / 390.7 MB, free: 33.56 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2789, allocations: 0 / 390.7 MB, free: 33.56 MB / 298.7 MB Notification: Performance of Templates: time 0.004844/0.2837, allocations: 2.191 MB / 392.9 MB, free: 31.38 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches