Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 176.4 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.518/1.518, allocations: 223.3 MB / 241.4 MB, free: 11.59 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.0009982/0.0009982, allocations: 101.9 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004489, allocations: 12 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09442/0.3195, allocations: 82.18 MB / 484.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.3198, allocations: 79.95 kB / 485 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01806/0.3379, allocations: 7.312 MB / 492.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.338, allocations: 4 kB / 492.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.254e-05/0.338, allocations: 8 kB / 492.3 MB, free: 6.711 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001349/0.3394, allocations: 0.6934 MB / 493 MB, free: 5.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3394, allocations: 8.031 kB / 493 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3396, allocations: 56.28 kB / 493.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.3401, allocations: 372 kB / 493.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.3402, allocations: 41.38 kB / 493.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.3403, allocations: 40.38 kB / 493.5 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.341, allocations: 462.1 kB / 494 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.341, allocations: 3.938 kB / 494 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.3411, allocations: 20 kB / 494 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3411, allocations: 12 kB / 494 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.3416, allocations: 319.8 kB / 494.3 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.344, allocations: 1.868 MB / 496.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.3447, allocations: 0.6202 MB / 496.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.3453, allocations: 292.4 kB / 497.1 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3453, allocations: 4.328 kB / 497.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.3457, allocations: 277.1 kB / 497.4 MB, free: 1.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.3457, allocations: 0 / 497.4 MB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002092/0.3478, allocations: 0.8577 MB / 498.2 MB, free: 496 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3479, allocations: 81.11 kB / 498.3 MB, free: 396 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3482, allocations: 308.5 kB / 498.6 MB, free: 80 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3482, allocations: 37.7 kB / 498.7 MB, free: 36 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3484, allocations: 216.3 kB / 498.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.3485, allocations: 134.1 kB / 499 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.3485, allocations: 12 kB / 499 MB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3487, allocations: 346.8 kB / 499.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3489, allocations: 121 kB / 499.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.3492, allocations: 244.2 kB / 499.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.3497, allocations: 374.5 kB / 0.4884 GB, free: 14.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3497, allocations: 0 / 0.4884 GB, free: 14.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007843/0.3505, allocations: 0.5092 MB / 0.4888 GB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3505, allocations: 8 kB / 0.4889 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3505, allocations: 4 kB / 0.4889 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/0.3509, allocations: 147.6 kB / 0.489 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3512, allocations: 55.91 kB / 0.4891 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.3536, allocations: 2.318 MB / 0.4913 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3538, allocations: 51.62 kB / 0.4914 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3539, allocations: 12 kB / 0.4914 GB, free: 11.27 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: 13 ($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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.3541, allocations: 182 kB / 0.4916 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.3541, allocations: 43.52 kB / 0.4916 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.3542, allocations: 44.3 kB / 0.4916 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3542, allocations: 8 kB / 0.4916 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3542, allocations: 3.938 kB / 0.4916 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3542, allocations: 0 / 0.4916 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3556, allocations: 1.031 MB / 0.4927 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3556, allocations: 0 / 0.4927 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3558, allocations: 31.98 kB / 0.4927 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.3562, allocations: 152.7 kB / 0.4928 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.3562, allocations: 8 kB / 0.4928 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.3584, allocations: 2.307 MB / 0.4951 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3585, allocations: 0 / 0.4951 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.3595, allocations: 0.7043 MB / 0.4958 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3596, allocations: 164.7 kB / 0.4959 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.3597, allocations: 8 kB / 0.4959 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3599, allocations: 15.98 kB / 0.496 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.36, allocations: 35.95 kB / 0.496 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.36, allocations: 11.98 kB / 0.496 GB, free: 6.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3602, allocations: 219.1 kB / 0.4962 GB, free: 6.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3602, allocations: 0 / 0.4962 GB, free: 6.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.3608, allocations: 151.7 kB / 0.4964 GB, free: 5.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001819/0.3609, allocations: 124.8 kB / 0.4965 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.3618, allocations: 0.5407 MB / 0.497 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3618, allocations: 0 / 0.497 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.3623, allocations: 371.2 kB / 0.4974 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3628, allocations: 73.55 kB / 0.4974 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.3644, allocations: 1.042 MB / 0.4984 GB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3648, allocations: 0.8243 MB / 0.4993 GB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.3649, allocations: 35.31 kB / 0.4993 GB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.365, allocations: 27.44 kB / 0.4993 GB, free: 2.805 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.365, allocations: 3.938 kB / 0.4993 GB, free: 2.801 MB / 378.7 MB Notification: Performance of Templates: time 0.1912/0.5562, allocations: 6.237 MB / 0.5054 GB, free: 99.05 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches