Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001387/0.001387, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.571/1.571, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 47.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4011, allocations: 49.42 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003582/0.4048, allocations: 2.516 MB / 403.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.406, allocations: 0.6543 MB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.4061, allocations: 4 kB / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.4063, allocations: 35.64 kB / 403.9 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.4065, allocations: 79.33 kB / 404 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4068, allocations: 83.77 kB / 404.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.4071, allocations: 278.8 kB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.4073, allocations: 92.34 kB / 404.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.4075, allocations: 111.6 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.4077, allocations: 123.4 kB / 404.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.4077, allocations: 20 kB / 404.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.4078, allocations: 43.97 kB / 404.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.4079, allocations: 43.84 kB / 404.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.408, allocations: 119.4 kB / 404.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.4083, allocations: 280.2 kB / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4083, allocations: 0 / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4084, allocations: 0 / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4084, allocations: 0 / 405.2 MB, free: 4.391 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000795/0.4092, allocations: 0.5224 MB / 405.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4092, allocations: 12.03 kB / 405.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.4093, allocations: 24.66 kB / 405.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4096, allocations: 247.7 kB / 406 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4097, allocations: 20.81 kB / 406 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.4097, allocations: 28.31 kB / 406 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.4101, allocations: 187.6 kB / 406.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4101, allocations: 0 / 406.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.4101, allocations: 12 kB / 406.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4101, allocations: 4 kB / 406.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.4104, allocations: 145.7 kB / 406.4 MB, free: 3.105 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4117, allocations: 0.9295 MB / 407.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.4121, allocations: 161.1 kB / 407.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.4123, allocations: 96.81 kB / 407.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.4123, allocations: 0 / 407.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.4124, allocations: 38.56 kB / 407.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.4124, allocations: 0 / 407.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001259/0.4136, allocations: 423.3 kB / 408 MB, free: 1.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.4137, allocations: 55.34 kB / 408.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.4139, allocations: 175.5 kB / 408.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4139, allocations: 29.7 kB / 408.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.414, allocations: 152 kB / 408.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.4141, allocations: 59.19 kB / 408.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.4142, allocations: 41.61 kB / 408.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4143, allocations: 330.8 kB / 408.8 MB, free: 452 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4144, allocations: 51.97 kB / 408.9 MB, free: 400 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4146, allocations: 71.19 kB / 408.9 MB, free: 324 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.4148, allocations: 128.8 kB / 409.1 MB, free: 192 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4148, allocations: 0 / 409.1 MB, free: 192 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004129/0.4152, allocations: 218.4 kB / 409.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4153, allocations: 7.984 kB / 409.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4153, allocations: 0 / 409.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.4166, allocations: 220.5 kB / 409.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4167, allocations: 31.92 kB / 409.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004969/0.4172, allocations: 0.6147 MB / 410.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.4174, allocations: 15.84 kB / 410.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.4174, allocations: 4 kB / 410.2 MB, free: 15.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.4175, allocations: 137.7 kB / 410.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.4176, allocations: 15.89 kB / 410.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.4181, allocations: 242.8 kB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4181, allocations: 0 / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4181, allocations: 0 / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4181, allocations: 0 / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.419, allocations: 0.5956 MB / 411.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.419, allocations: 8.031 kB / 411.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4192, allocations: 31.91 kB / 411.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4202, allocations: 200.6 kB / 411.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4203, allocations: 7.984 kB / 411.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004363/0.4207, allocations: 0.6225 MB / 412 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4207, allocations: 4.062 kB / 412 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/0.4215, allocations: 416.8 kB / 412.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.4216, allocations: 104.9 kB / 412.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4216, allocations: 4 kB / 412.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.4218, allocations: 11.98 kB / 412.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.4218, allocations: 15.89 kB / 412.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4218, allocations: 4 kB / 412.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.4219, allocations: 132.3 kB / 412.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4219, allocations: 0 / 412.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.4223, allocations: 63.84 kB / 412.8 MB, free: 12.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.4225, allocations: 113.4 kB / 412.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.4229, allocations: 147.9 kB / 413 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4229, allocations: 3.938 kB / 413 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.4231, allocations: 79.97 kB / 413.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.4234, allocations: 30.45 kB / 413.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/0.4244, allocations: 0.567 MB / 413.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.4247, allocations: 0.7361 MB / 414.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.4247, allocations: 17.55 kB / 414.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.4248, allocations: 11.44 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4248, allocations: 0 / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Templates: time 0.00605/0.4308, allocations: 2.578 MB / 417 MB, free: 7.992 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches