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.001734/0.001734, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3708, allocations: 50.55 MB / 409.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004677/0.3756, allocations: 2.536 MB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3771, allocations: 0.6895 MB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.3772, allocations: 0 / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.3775, allocations: 35.64 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.3776, allocations: 75.28 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.378, allocations: 99.75 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.3784, allocations: 286.7 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.3787, allocations: 92.27 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.3789, allocations: 107.6 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3791, allocations: 119.5 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.3792, allocations: 24 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3793, allocations: 39.98 kB / 413.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.3793, allocations: 55.77 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3795, allocations: 123.4 kB / 413.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.3799, allocations: 288.2 kB / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.38, allocations: 0 / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.38, allocations: 0 / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.38, allocations: 0 / 413.8 MB, free: 12.98 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.0009864/0.381, allocations: 0.5379 MB / 414.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.381, allocations: 8.031 kB / 414.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.3812, allocations: 36.64 kB / 414.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.3817, allocations: 247.9 kB / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3817, allocations: 12.81 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.3818, allocations: 20.38 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.3822, allocations: 195.5 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3822, allocations: 4 kB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3822, allocations: 8 kB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3822, allocations: 4 kB / 414.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.3826, allocations: 149.7 kB / 415 MB, free: 11.68 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.00145/0.384, allocations: 0.9373 MB / 415.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.3843, allocations: 150.6 kB / 416.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.3846, allocations: 96.81 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3846, allocations: 8 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3846, allocations: 30.56 kB / 416.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.3847, allocations: 0 / 416.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001289/0.3859, allocations: 417.9 kB / 416.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.386, allocations: 55.41 kB / 416.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3862, allocations: 184.9 kB / 416.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3862, allocations: 25.7 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3864, allocations: 156.1 kB / 417 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3864, allocations: 59.11 kB / 417.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.3865, allocations: 33.7 kB / 417.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3867, allocations: 330.8 kB / 417.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3868, allocations: 47.97 kB / 417.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.387, allocations: 81.19 kB / 417.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3872, allocations: 127.7 kB / 417.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3872, allocations: 0 / 417.7 MB, free: 8.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004127/0.3876, allocations: 226.2 kB / 417.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.3877, allocations: 4 kB / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3877, allocations: 4.031 kB / 417.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3891, allocations: 216.5 kB / 418.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3892, allocations: 43.91 kB / 418.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005191/0.3898, allocations: 0.607 MB / 418.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3899, allocations: 11.94 kB / 418.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3899, allocations: 8 kB / 418.8 MB, free: 7.621 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.0001421/0.3901, allocations: 133.7 kB / 418.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3901, allocations: 19.75 kB / 419 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.3906, allocations: 231.1 kB / 419.2 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3906, allocations: 8.062 kB / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3906, allocations: 0 / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3906, allocations: 0 / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/0.3915, allocations: 0.5973 MB / 419.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3915, allocations: 4 kB / 419.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.3917, allocations: 31.91 kB / 419.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.3927, allocations: 204.7 kB / 420 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3928, allocations: 4 kB / 420 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004911/0.3933, allocations: 0.6186 MB / 420.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3933, allocations: 3.938 kB / 420.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.3941, allocations: 420.9 kB / 421.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.3942, allocations: 100.8 kB / 421.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3942, allocations: 7.984 kB / 421.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3944, allocations: 8.062 kB / 421.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.3944, allocations: 15.98 kB / 421.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3945, allocations: 4.094 kB / 421.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3946, allocations: 136 kB / 421.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3946, allocations: 0 / 421.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.3949, allocations: 63.84 kB / 421.4 MB, free: 4.887 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.0002118/0.3951, allocations: 103.2 kB / 421.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.3956, allocations: 155.8 kB / 421.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3956, allocations: 0 / 421.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3958, allocations: 91.89 kB / 421.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3962, allocations: 37.8 kB / 421.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3973, allocations: 0.5367 MB / 422.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3977, allocations: 0.74 MB / 423.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.3977, allocations: 17.53 kB / 423.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.3978, allocations: 15.44 kB / 423.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3978, allocations: 3.938 kB / 423.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Templates: time 0.006677/0.4045, allocations: 2.576 MB / 425.7 MB, free: 0.582 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