Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 93.28 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 12 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2481, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002345/0.2505, allocations: 2.081 MB / 377.2 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2516, allocations: 0.6111 MB / 377.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2517, allocations: 8.031 kB / 377.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.2519, allocations: 22.83 kB / 377.8 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.252, allocations: 67.5 kB / 377.9 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2522, allocations: 43.66 kB / 377.9 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.2525, allocations: 245.2 kB / 378.2 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.2527, allocations: 87.61 kB / 378.2 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2528, allocations: 82.14 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2529, allocations: 91.88 kB / 378.4 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.253, allocations: 10.28 kB / 378.4 MB, free: 42.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.253, allocations: 22.55 kB / 378.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.2531, allocations: 33.47 kB / 378.5 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.2532, allocations: 123 kB / 378.6 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2534, allocations: 183.6 kB / 378.8 MB, free: 42.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2534, allocations: 0 / 378.8 MB, free: 42.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2534, allocations: 0 / 378.8 MB, free: 42.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2534, allocations: 1.031 kB / 378.8 MB, free: 42.63 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.0007553/0.2542, allocations: 0.5274 MB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2542, allocations: 8.688 kB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2543, allocations: 26.25 kB / 379.3 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.2546, allocations: 234.1 kB / 379.6 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.2546, allocations: 17.56 kB / 379.6 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.2547, allocations: 25.91 kB / 379.6 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.2551, allocations: 236 kB / 379.8 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2551, allocations: 0 / 379.8 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.2551, allocations: 10.23 kB / 379.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2551, allocations: 5.344 kB / 379.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.2555, allocations: 166.2 kB / 380 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.2567, allocations: 0.8304 MB / 380.8 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.2571, allocations: 161.7 kB / 381 MB, free: 40.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2573, allocations: 89.56 kB / 381.1 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2573, allocations: 1.531 kB / 381.1 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2573, allocations: 35.47 kB / 381.1 MB, free: 40.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.2574, allocations: 1.125 kB / 381.1 MB, free: 40.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008296/0.2582, allocations: 358 kB / 381.5 MB, free: 40.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.2582, allocations: 54.22 kB / 381.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2584, allocations: 175.7 kB / 381.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2584, allocations: 30.86 kB / 381.7 MB, free: 40.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.2585, allocations: 146.9 kB / 381.9 MB, free: 40.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.2585, allocations: 57.34 kB / 381.9 MB, free: 40.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.2585, allocations: 5.281 kB / 381.9 MB, free: 40.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.2586, allocations: 330.4 kB / 382.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2587, allocations: 57.59 kB / 382.3 MB, free: 39.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2589, allocations: 97.84 kB / 382.4 MB, free: 39.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.2592, allocations: 149.6 kB / 382.6 MB, free: 39.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2592, allocations: 0 / 382.6 MB, free: 39.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004268/0.2596, allocations: 229.3 kB / 382.8 MB, free: 39.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2596, allocations: 9.281 kB / 382.8 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2597, allocations: 1.531 kB / 382.8 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.2599, allocations: 40.88 kB / 382.8 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.26, allocations: 36.02 kB / 382.9 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008197/0.2608, allocations: 1.368 MB / 384.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.261, allocations: 34.92 kB / 384.3 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2611, allocations: 8.844 kB / 384.3 MB, free: 37.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.2612, allocations: 135.8 kB / 384.4 MB, free: 37.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.2612, allocations: 24.92 kB / 384.4 MB, free: 37.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.2613, allocations: 20.62 kB / 384.5 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2613, allocations: 2.25 kB / 384.5 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2613, allocations: 5.656 kB / 384.5 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2613, allocations: 0 / 384.5 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.2619, allocations: 0.5216 MB / 385 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2619, allocations: 0 / 385 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.2621, allocations: 30.7 kB / 385 MB, free: 37.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.2622, allocations: 31.23 kB / 385 MB, free: 37.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2622, allocations: 9.141 kB / 385.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007126/0.2629, allocations: 1.363 MB / 386.4 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.263, allocations: 1.125 kB / 386.4 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.2635, allocations: 370.4 kB / 386.8 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.2636, allocations: 107.7 kB / 386.9 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2636, allocations: 5.125 kB / 386.9 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2638, allocations: 25.72 kB / 386.9 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2639, allocations: 18.88 kB / 386.9 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2639, allocations: 7.75 kB / 386.9 MB, free: 35.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.264, allocations: 129 kB / 387.1 MB, free: 35.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.264, allocations: 7.875 kB / 387.1 MB, free: 35.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.2643, allocations: 57.66 kB / 387.1 MB, free: 35.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.917e-05/0.2644, allocations: 97.88 kB / 387.2 MB, free: 35.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004924/0.2649, allocations: 273.2 kB / 387.5 MB, free: 35.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.265, allocations: 0 / 387.5 MB, free: 35.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.2652, allocations: 202.1 kB / 387.7 MB, free: 34.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2656, allocations: 28.2 kB / 387.7 MB, free: 34.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.2664, allocations: 0.5914 MB / 388.3 MB, free: 34.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.2666, allocations: 0.7368 MB / 389.1 MB, free: 33.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.2666, allocations: 15.28 kB / 389.1 MB, free: 33.75 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2666, allocations: 0 / 389.1 MB, free: 33.75 MB / 298.7 MB Notification: Performance of Templates: time 0.004706/0.2713, allocations: 3.12 MB / 392.2 MB, free: 30.86 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches