Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.001341, allocations: 121.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001533, allocations: 203.8 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 71.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3447, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005115/0.3499, allocations: 2.538 MB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3517, allocations: 0.6972 MB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3519, allocations: 4 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.3522, allocations: 31.66 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.3524, allocations: 75.33 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3529, allocations: 95.77 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.3532, allocations: 282.7 kB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.3535, allocations: 80.34 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.3537, allocations: 115.6 kB / 413.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3539, allocations: 123.5 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.354, allocations: 20 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3541, allocations: 43.97 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.3542, allocations: 51.78 kB / 413.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3543, allocations: 123.4 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3546, allocations: 284.2 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3547, allocations: 4 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3547, allocations: 0 / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3547, allocations: 0 / 413.8 MB, free: 13.04 MB / 334.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.00092/0.3556, allocations: 0.5379 MB / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3557, allocations: 8.031 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.3559, allocations: 44.58 kB / 414.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3563, allocations: 240 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.3563, allocations: 20.81 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.3563, allocations: 20.38 kB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.3568, allocations: 195.6 kB / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3568, allocations: 0 / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.3569, allocations: 8 kB / 414.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3569, allocations: 8 kB / 414.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.3572, allocations: 145.7 kB / 415 MB, free: 11.73 MB / 334.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.001774/0.359, allocations: 0.9295 MB / 415.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3594, allocations: 162.6 kB / 416.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3597, allocations: 92.83 kB / 416.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3597, allocations: 4 kB / 416.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3598, allocations: 38.55 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.3598, allocations: 3.938 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001322/0.3611, allocations: 415.4 kB / 416.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3612, allocations: 59.41 kB / 416.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.3614, allocations: 180.9 kB / 416.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3614, allocations: 25.7 kB / 416.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3615, allocations: 148.1 kB / 417 MB, free: 9.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.3616, allocations: 59.11 kB / 417.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.3617, allocations: 37.7 kB / 417.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3618, allocations: 334.8 kB / 417.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3619, allocations: 47.98 kB / 417.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.362, allocations: 72.88 kB / 417.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.3623, allocations: 128.1 kB / 417.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3623, allocations: 3.938 kB / 417.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003891/0.3627, allocations: 222.2 kB / 417.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3627, allocations: 4 kB / 417.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3627, allocations: 0 / 417.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.3641, allocations: 232.5 kB / 418.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3643, allocations: 27.98 kB / 418.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005409/0.3648, allocations: 0.6109 MB / 418.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.365, allocations: 11.91 kB / 418.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.365, allocations: 7.984 kB / 418.8 MB, free: 7.668 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.0001424/0.3651, allocations: 137.7 kB / 419 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3652, allocations: 15.81 kB / 419 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.3657, allocations: 234.5 kB / 419.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3657, allocations: 0 / 419.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.3657, allocations: 3.984 kB / 419.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3657, allocations: 0 / 419.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.3666, allocations: 0.5925 MB / 419.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3667, allocations: 3.938 kB / 419.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3668, allocations: 47.89 kB / 419.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.3679, allocations: 196.6 kB / 420 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3679, allocations: 4 kB / 420 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004948/0.3684, allocations: 0.6186 MB / 420.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3684, allocations: 4.031 kB / 420.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.3693, allocations: 424.8 kB / 421.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.3693, allocations: 96.8 kB / 421.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3694, allocations: 8.062 kB / 421.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3695, allocations: 11.98 kB / 421.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3696, allocations: 11.98 kB / 421.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3696, allocations: 4 kB / 421.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3697, allocations: 132 kB / 421.3 MB, free: 5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3697, allocations: 0 / 421.3 MB, free: 5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.3701, allocations: 59.84 kB / 421.4 MB, free: 4.941 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.0002226/0.3703, allocations: 111.2 kB / 421.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.3707, allocations: 150.5 kB / 421.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3708, allocations: 96 / 421.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3709, allocations: 91.89 kB / 421.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3713, allocations: 31.98 kB / 421.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3725, allocations: 0.5482 MB / 422.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3729, allocations: 0.7361 MB / 423.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.3729, allocations: 13.55 kB / 423.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.373, allocations: 19.44 kB / 423.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of SimCode: time 1.423e-06/0.373, allocations: 0 / 423.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Templates: time 0.006534/0.3795, allocations: 2.584 MB / 425.7 MB, free: 0.625 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches