Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008583/0.0008579, allocations: 95.78 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.659e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09444, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.32/0.4145, allocations: 80.62 MB / 475.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4147, allocations: 67.39 kB / 475.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.4363, allocations: 9.084 MB / 484.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4363, allocations: 0 / 484.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.4363, allocations: 12 kB / 484.9 MB, free: 4.992 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001238/0.4376, allocations: 0.7495 MB / 485.7 MB, free: 4.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4376, allocations: 8.031 kB / 485.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004141/0.4381, allocations: 100.1 kB / 485.8 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.4386, allocations: 373.8 kB / 486.2 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4386, allocations: 19.94 kB / 486.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.4387, allocations: 31.44 kB / 486.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006356/0.4393, allocations: 372 kB / 486.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.4399, allocations: 453.2 kB / 487 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.44, allocations: 0 / 487 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.44, allocations: 3.984 kB / 487 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.44, allocations: 12 kB / 487 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.4424, allocations: 1.967 MB / 489 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.443, allocations: 0.5804 MB / 489.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.4434, allocations: 357.8 kB / 489.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.4435, allocations: 10.53 kB / 489.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.4435, allocations: 35 kB / 490 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 1.853e-06/0.4435, allocations: 0 / 490 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001636/0.4451, allocations: 1.145 MB / 491.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4452, allocations: 59.97 kB / 491.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.4455, allocations: 269.7 kB / 491.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4455, allocations: 25.7 kB / 491.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4456, allocations: 232.9 kB / 491.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.4458, allocations: 187 kB / 491.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.4458, allocations: 0 / 491.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4459, allocations: 371.2 kB / 492.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.4462, allocations: 138.8 kB / 492.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.4464, allocations: 176.5 kB / 492.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4466, allocations: 150.3 kB / 492.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4466, allocations: 0 / 492.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009231/0.4476, allocations: 0.5789 MB / 493.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4476, allocations: 4 kB / 493.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4476, allocations: 0 / 493.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.4483, allocations: 247 kB / 493.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.4486, allocations: 63.91 kB / 493.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.4541, allocations: 6.523 MB / 0.4884 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4544, allocations: 8.031 kB / 0.4884 GB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.4545, allocations: 21.61 kB / 0.4884 GB, free: 7.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.4546, allocations: 117.8 kB / 0.4885 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.4547, allocations: 43.44 kB / 0.4886 GB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4548, allocations: 55.44 kB / 0.4886 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4549, allocations: 4 kB / 0.4886 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4549, allocations: 4 kB / 0.4886 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4549, allocations: 7.938 kB / 0.4886 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.4568, allocations: 1.175 MB / 0.4898 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4568, allocations: 0 / 0.4898 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4571, allocations: 55.22 kB / 0.4898 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.4577, allocations: 248.5 kB / 0.4901 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.4578, allocations: 11.92 kB / 0.4901 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/0.4638, allocations: 6.531 MB / 0.4965 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4638, allocations: 0 / 0.4965 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.4652, allocations: 0.9087 MB / 0.4974 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.4654, allocations: 152.5 kB / 0.4975 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.4655, allocations: 0 / 0.4975 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.4658, allocations: 11.98 kB / 0.4975 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.4659, allocations: 56.42 kB / 0.4976 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.4659, allocations: 12 kB / 0.4976 GB, free: 14.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002516/0.4662, allocations: 220.6 kB / 0.4978 GB, free: 14.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4662, allocations: 0 / 0.4978 GB, free: 14.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001068/0.4673, allocations: 156 kB / 0.4979 GB, free: 14.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/0.4675, allocations: 99.23 kB / 0.498 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.4691, allocations: 0.9373 MB / 0.4989 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4691, allocations: 0 / 0.4989 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.4702, allocations: 0.7661 MB / 0.4997 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4707, allocations: 64.36 kB / 0.4998 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4728, allocations: 0.9463 MB / 0.5007 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4734, allocations: 0.8867 MB / 0.5015 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.4736, allocations: 44.36 kB / 0.5016 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.4737, allocations: 31.42 kB / 0.5016 GB, free: 10.46 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4737, allocations: 0 / 0.5016 GB, free: 10.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01403/0.4877, allocations: 7.068 MB / 0.5085 GB, free: 3.5 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches