Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001499, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001026/0.001026, allocations: 99.27 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 47.56 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.4582, allocations: 80.84 MB / 455.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.4586, allocations: 87.95 kB / 455.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03126/0.4898, allocations: 7.107 MB / 462.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4899, allocations: 0 / 462.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.4899, allocations: 8 kB / 462.6 MB, free: 8.68 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001727/0.4917, allocations: 0.7051 MB / 463.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4917, allocations: 8.031 kB / 463.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.4919, allocations: 55.34 kB / 463.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.4926, allocations: 359 kB / 463.7 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.4927, allocations: 33 kB / 463.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4928, allocations: 40 kB / 463.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.494, allocations: 445.6 kB / 464.2 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.494, allocations: 3.938 kB / 464.2 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.4941, allocations: 19.98 kB / 464.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.4941, allocations: 16 kB / 464.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009826/0.4951, allocations: 319.8 kB / 464.6 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.4989, allocations: 1.849 MB / 466.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.5001, allocations: 0.6078 MB / 467 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.5002, allocations: 8.281 kB / 467 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007172/0.5009, allocations: 273.1 kB / 467.3 MB, free: 3.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.036e-06/0.5009, allocations: 0 / 467.3 MB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.004009/0.505, allocations: 0.8394 MB / 468.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.5051, allocations: 85.05 kB / 468.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.5056, allocations: 275.7 kB / 468.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.5056, allocations: 41.64 kB / 468.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.5059, allocations: 270.8 kB / 468.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.506, allocations: 130.1 kB / 468.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.5061, allocations: 12 kB / 468.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5062, allocations: 326.8 kB / 469.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.5066, allocations: 121.1 kB / 469.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.5072, allocations: 247.9 kB / 469.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.5077, allocations: 144.3 kB / 469.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.5077, allocations: 0 / 469.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00143/0.5091, allocations: 0.4907 MB / 470.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5092, allocations: 8 kB / 470.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5092, allocations: 4 kB / 470.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007582/0.51, allocations: 145.2 kB / 470.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.5104, allocations: 67.84 kB / 470.5 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.5148, allocations: 2.339 MB / 472.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.5154, allocations: 39.59 kB / 472.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.5154, allocations: 20 kB / 472.9 MB, free: 13.85 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0003645/0.5158, allocations: 174.5 kB / 473 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.5159, allocations: 39.62 kB / 473.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.5161, allocations: 48.3 kB / 473.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5161, allocations: 4 kB / 473.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5161, allocations: 0 / 473.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5161, allocations: 3.953 kB / 473.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.5183, allocations: 1.011 MB / 474.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5184, allocations: 3.953 kB / 474.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.5187, allocations: 35.98 kB / 474.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006798/0.5194, allocations: 140.8 kB / 474.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.5195, allocations: 8 kB / 474.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.5237, allocations: 2.34 MB / 476.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5237, allocations: 4 kB / 476.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.5257, allocations: 0.7039 MB / 477.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.526, allocations: 152.6 kB / 477.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.5261, allocations: 12 kB / 477.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.5265, allocations: 19.92 kB / 477.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5267, allocations: 35.84 kB / 477.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.5268, allocations: 16 kB / 477.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003706/0.5271, allocations: 219.1 kB / 477.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5271, allocations: 0 / 477.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008361/0.528, allocations: 147.7 kB / 477.9 MB, free: 8.512 MB / 362.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (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.000222/0.5282, allocations: 119.8 kB / 478.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.5297, allocations: 0.5372 MB / 478.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5298, allocations: 0 / 478.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.5307, allocations: 387.1 kB / 479 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.5313, allocations: 79.31 kB / 479.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.5339, allocations: 1.045 MB / 480.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.5344, allocations: 0.836 MB / 480.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.5346, allocations: 31.42 kB / 481 MB, free: 5.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5346, allocations: 0 / 481 MB, free: 5.395 MB / 362.7 MB Notification: Performance of Templates: time 0.01436/0.549, allocations: 6.681 MB / 487.7 MB, free: 14.73 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches