Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001913/0.001914, allocations: 180.6 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.941/2.941, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 86.34 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004812, allocations: 15.98 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4061, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.58, allocations: 84.73 MB / 460.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005269/0.5806, allocations: 87.94 kB / 460.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1049/0.6855, allocations: 20.38 MB / 480.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6856, allocations: 0 / 480.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.6858, allocations: 35.92 kB / 481 MB, free: 7.211 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006102/0.6919, allocations: 1.412 MB / 482.4 MB, free: 5.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/0.692, allocations: 12.03 kB / 482.4 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.6929, allocations: 139.2 kB / 482.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/0.6973, allocations: 1.024 MB / 483.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.6974, allocations: 74.38 kB / 483.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005639/0.698, allocations: 100.4 kB / 483.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/0.7037, allocations: 1.431 MB / 485.1 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.701e-05/0.7038, allocations: 8.031 kB / 485.2 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.7042, allocations: 47.94 kB / 485.2 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.7044, allocations: 38 kB / 485.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/0.7093, allocations: 1.241 MB / 486.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.7251, allocations: 4.337 MB / 490.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.7297, allocations: 1.974 MB / 492.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.7323, allocations: 0.7431 MB / 493.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.7325, allocations: 12.64 kB / 493.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/0.7345, allocations: 0.6015 MB / 494.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 6.232e-06/0.7346, allocations: 4 kB / 494.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.01363/0.7482, allocations: 2.766 MB / 496.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7484, allocations: 123.4 kB / 497 MB, free: 6.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.751, allocations: 0.813 MB / 497.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.7513, allocations: 41.7 kB / 497.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/0.7521, allocations: 479.8 kB / 498.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.7527, allocations: 244.5 kB / 498.6 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.7529, allocations: 16 kB / 498.6 MB, free: 4.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003606/0.7533, allocations: 402.7 kB / 499 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.7546, allocations: 401.7 kB / 499.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.7562, allocations: 0.5407 MB / 499.9 MB, free: 3.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.759, allocations: 0.9105 MB / 0.4891 GB, free: 2.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.759, allocations: 0 / 0.4891 GB, free: 2.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004157/0.7632, allocations: 1.307 MB / 0.4904 GB, free: 1.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.7633, allocations: 8.938 kB / 0.4904 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.7633, allocations: 4 kB / 0.4904 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.7653, allocations: 480.2 kB / 0.4909 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.766, allocations: 95.83 kB / 0.491 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3422/1.108, allocations: 5.107 MB / 0.4959 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.11, allocations: 84.27 kB / 0.496 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/1.11, allocations: 25.03 kB / 0.496 GB, free: 101.2 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.001503/1.111, allocations: 466.7 kB / 0.4965 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/1.112, allocations: 87.28 kB / 0.4966 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/1.112, allocations: 112 kB / 0.4967 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.112, allocations: 10.69 kB / 0.4967 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.112, allocations: 4.406 kB / 0.4967 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.112, allocations: 4.828 kB / 0.4967 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/1.12, allocations: 2.629 MB / 0.4993 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.12, allocations: 0 / 0.4993 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/1.121, allocations: 68.03 kB / 0.4993 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.122, allocations: 461.7 kB / 0.4998 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.123, allocations: 16.42 kB / 0.4998 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/1.133, allocations: 5.062 MB / 0.5047 GB, free: 97.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.133, allocations: 0 / 0.5047 GB, free: 97.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/1.138, allocations: 1.932 MB / 0.5066 GB, free: 97.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009949/1.139, allocations: 282.3 kB / 0.5069 GB, free: 96.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/1.139, allocations: 11.44 kB / 0.5069 GB, free: 96.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/1.14, allocations: 48.41 kB / 0.5069 GB, free: 96.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003765/1.141, allocations: 75.72 kB / 0.507 GB, free: 96.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/1.141, allocations: 18.81 kB / 0.507 GB, free: 96.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001353/1.142, allocations: 0.5871 MB / 0.5076 GB, free: 96.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.142, allocations: 0 / 0.5076 GB, free: 96.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002005/1.144, allocations: 346.7 kB / 0.5079 GB, free: 96.63 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.000322/1.144, allocations: 125.1 kB / 0.5081 GB, free: 96.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003556/1.148, allocations: 1.284 MB / 0.5093 GB, free: 96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.148, allocations: 0 / 0.5093 GB, free: 96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/1.15, allocations: 0.8222 MB / 0.5101 GB, free: 95.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/1.153, allocations: 254.8 kB / 0.5104 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007546/1.16, allocations: 2.665 MB / 0.513 GB, free: 94.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/1.162, allocations: 1.294 MB / 0.5142 GB, free: 93.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/1.162, allocations: 50.72 kB / 0.5143 GB, free: 93.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/1.162, allocations: 0 / 0.5143 GB, free: 93.35 MB / 378.7 MB Notification: Performance of Templates: time 0.04579/1.208, allocations: 20.33 MB / 0.5341 GB, free: 79.29 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches