Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001437/0.001437, allocations: 187 kB / 18.66 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1033, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003778/0.1071, allocations: 2.455 MB / 377.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1083, allocations: 0.6512 MB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1084, allocations: 4 kB / 378.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1086, allocations: 27.66 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1087, allocations: 71.34 kB / 378.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.109, allocations: 67.84 kB / 378.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.1093, allocations: 262.8 kB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1096, allocations: 115.3 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1097, allocations: 95.64 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1099, allocations: 111.5 kB / 379 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1099, allocations: 20 kB / 379 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.11, allocations: 24 kB / 379 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.1101, allocations: 55.77 kB / 379.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1102, allocations: 115.5 kB / 379.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.1105, allocations: 259 kB / 379.4 MB, free: 248 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1105, allocations: 0 / 379.4 MB, free: 248 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1105, allocations: 4 kB / 379.4 MB, free: 244 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1105, allocations: 0 / 379.4 MB, free: 244 kB / 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.2413/0.3519, allocations: 0.5345 MB / 380 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3519, allocations: 14.05 kB / 380 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.3521, allocations: 27.22 kB / 380 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.3524, allocations: 235.1 kB / 380.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3525, allocations: 13.31 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.3525, allocations: 21.88 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.353, allocations: 232 kB / 380.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.353, allocations: 0 / 380.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.3531, allocations: 16.22 kB / 380.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.3531, allocations: 4.125 kB / 380.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.3535, allocations: 154.8 kB / 380.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3547, allocations: 0.8151 MB / 381.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.3551, allocations: 165.6 kB / 381.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.3553, allocations: 82.22 kB / 381.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3554, allocations: 4.938 kB / 381.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3554, allocations: 35.12 kB / 381.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3554, allocations: 0 / 381.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009377/0.3564, allocations: 340.4 kB / 382.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.3564, allocations: 54.03 kB / 382.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3566, allocations: 176.1 kB / 382.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3566, allocations: 32.39 kB / 382.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.3567, allocations: 148.4 kB / 382.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.3568, allocations: 54.41 kB / 382.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.3569, allocations: 39.91 kB / 382.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.357, allocations: 328 kB / 382.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3572, allocations: 52.66 kB / 383 MB, free: 11.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3574, allocations: 97.22 kB / 383.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3577, allocations: 143 kB / 383.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3577, allocations: 4.797 kB / 383.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005187/0.3583, allocations: 222.8 kB / 383.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3583, allocations: 9.594 kB / 383.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3583, allocations: 1.188 kB / 383.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.3585, allocations: 36.61 kB / 383.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3587, allocations: 35.44 kB / 383.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009549/0.3597, allocations: 1.461 MB / 385 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3599, allocations: 37.14 kB / 385 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3599, allocations: 5.156 kB / 385 MB, free: 9.672 MB / 318.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.0001046/0.36, allocations: 131.5 kB / 385.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.36, allocations: 15.98 kB / 385.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.3601, allocations: 24.17 kB / 385.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3601, allocations: 1.25 kB / 385.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3601, allocations: 1.219 kB / 385.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3601, allocations: 5.406 kB / 385.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/0.3609, allocations: 0.5196 MB / 385.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3609, allocations: 3.938 kB / 385.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3611, allocations: 30.19 kB / 385.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.3612, allocations: 31.81 kB / 385.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3612, allocations: 6.078 kB / 385.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007941/0.362, allocations: 1.467 MB / 387.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.362, allocations: 5.281 kB / 387.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.3626, allocations: 351.5 kB / 387.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.3627, allocations: 109 kB / 387.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.3627, allocations: 1.562 kB / 387.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3629, allocations: 25.53 kB / 387.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.363, allocations: 19.89 kB / 387.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.363, allocations: 3.625 kB / 387.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.3631, allocations: 131.8 kB / 387.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3631, allocations: 0 / 387.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.3635, allocations: 58.38 kB / 387.9 MB, free: 7.195 MB / 318.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.0001131/0.3636, allocations: 103 kB / 388 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.3642, allocations: 251.3 kB / 388.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3642, allocations: 0 / 388.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.3644, allocations: 199.1 kB / 388.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3648, allocations: 31.84 kB / 388.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.3656, allocations: 456.1 kB / 389 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3658, allocations: 0.7359 MB / 389.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.777e-05/0.3659, allocations: 16.48 kB / 389.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.3659, allocations: 16.55 kB / 389.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3659, allocations: 4 kB / 389.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of Templates: time 0.006598/0.3725, allocations: 2.46 MB / 392.2 MB, free: 5.602 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches