Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007763/0.0007763, allocations: 105 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003537, allocations: 11.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09603/0.3044, allocations: 85.67 MB / 488.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3046, allocations: 83.95 kB / 488.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05101/0.3557, allocations: 20.78 MB / 0.4974 GB, free: 5.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3557, allocations: 3.938 kB / 0.4974 GB, free: 5.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.622e-05/0.3558, allocations: 28 kB / 0.4974 GB, free: 5.609 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002982/0.3588, allocations: 1.424 MB / 0.4988 GB, free: 4.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3588, allocations: 12.03 kB / 0.4988 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.3592, allocations: 139.3 kB / 0.4989 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.361, allocations: 1.036 MB / 0.4999 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.3611, allocations: 78.38 kB / 0.5 GB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.3613, allocations: 100.3 kB / 0.5001 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.3636, allocations: 1.428 MB / 0.5015 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.3636, allocations: 4.125 kB / 0.5015 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.3637, allocations: 47.94 kB / 0.5015 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/0.3638, allocations: 45.98 kB / 0.5016 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1821/0.5459, allocations: 1.225 MB / 0.5028 GB, free: 91.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006796/0.5528, allocations: 4.356 MB / 0.507 GB, free: 90.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.5546, allocations: 1.967 MB / 0.509 GB, free: 89.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.5557, allocations: 0.7445 MB / 0.5097 GB, free: 89.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.5557, allocations: 7.969 kB / 0.5097 GB, free: 89.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.5565, allocations: 0.5987 MB / 0.5103 GB, free: 89.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.675e-06/0.5565, allocations: 3.438 kB / 0.5103 GB, free: 89.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00595/0.5625, allocations: 2.819 MB / 0.513 GB, free: 88.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.5625, allocations: 114.7 kB / 0.5131 GB, free: 88.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/0.5635, allocations: 0.8117 MB / 0.5139 GB, free: 88.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.5635, allocations: 45.14 kB / 0.514 GB, free: 88.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.5638, allocations: 489.8 kB / 0.5145 GB, free: 88.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.564, allocations: 244.9 kB / 0.5147 GB, free: 88.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.564, allocations: 15.69 kB / 0.5147 GB, free: 88.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.5641, allocations: 397.5 kB / 0.5151 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.5646, allocations: 397.6 kB / 0.5155 GB, free: 87.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.5652, allocations: 0.5465 MB / 0.516 GB, free: 87.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5662, allocations: 0.9186 MB / 0.5169 GB, free: 86.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5662, allocations: 0.5625 kB / 0.5169 GB, free: 86.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001633/0.5679, allocations: 1.298 MB / 0.5182 GB, free: 86.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5679, allocations: 15.56 kB / 0.5182 GB, free: 86.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5679, allocations: 3.969 kB / 0.5182 GB, free: 86.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/0.5688, allocations: 465.3 kB / 0.5186 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.5691, allocations: 91.28 kB / 0.5187 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.5743, allocations: 5.116 MB / 0.5237 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.5748, allocations: 84.64 kB / 0.5238 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.5748, allocations: 26.17 kB / 0.5238 GB, free: 83.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0005484/0.5754, allocations: 461.7 kB / 0.5242 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.5755, allocations: 84.41 kB / 0.5243 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.5757, allocations: 122.2 kB / 0.5244 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5757, allocations: 7.125 kB / 0.5245 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5757, allocations: 0 / 0.5245 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5757, allocations: 3.609 kB / 0.5245 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.5789, allocations: 2.628 MB / 0.527 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5789, allocations: 0 / 0.527 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.5792, allocations: 72.08 kB / 0.5271 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007941/0.58, allocations: 455.7 kB / 0.5275 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.5801, allocations: 19.66 kB / 0.5275 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.5851, allocations: 5.073 MB / 0.5325 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5851, allocations: 3.391 kB / 0.5325 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.5873, allocations: 1.921 MB / 0.5344 GB, free: 75.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.5877, allocations: 269.5 kB / 0.5346 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.5878, allocations: 19.94 kB / 0.5347 GB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.5882, allocations: 47.16 kB / 0.5347 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.5884, allocations: 74.56 kB / 0.5348 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.5884, allocations: 27.67 kB / 0.5348 GB, free: 75.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005986/0.589, allocations: 0.5802 MB / 0.5354 GB, free: 74.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.589, allocations: 0 / 0.5354 GB, free: 74.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008476/0.5899, allocations: 355.8 kB / 0.5357 GB, free: 74.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.59, allocations: 135.8 kB / 0.5358 GB, free: 74.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.5917, allocations: 1.279 MB / 0.5371 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5917, allocations: 0 / 0.5371 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.5927, allocations: 0.8373 MB / 0.5379 GB, free: 72.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.5937, allocations: 255.8 kB / 0.5381 GB, free: 72.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5968, allocations: 2.662 MB / 0.5407 GB, free: 69.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.5974, allocations: 1.321 MB / 0.542 GB, free: 68.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.5978, allocations: 142.4 kB / 0.5422 GB, free: 68.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5979, allocations: 54.7 kB / 0.5422 GB, free: 68.4 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5979, allocations: 0 / 0.5422 GB, free: 68.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02202/0.62, allocations: 18.01 MB / 0.5598 GB, free: 50.81 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches