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.002205/0.002206, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.058/3.058, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001382/0.001382, allocations: 81.44 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006426, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4746, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.6161, allocations: 80.89 MB / 456.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004327/0.6166, allocations: 91.94 kB / 456.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03475/0.6514, allocations: 7.111 MB / 463.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6515, allocations: 0 / 463.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.711e-05/0.6515, allocations: 8 kB / 463.8 MB, free: 8.488 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.002241/0.6538, allocations: 0.6975 MB / 464.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.6539, allocations: 12.02 kB / 464.5 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.6541, allocations: 56.28 kB / 464.6 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.655, allocations: 356.3 kB / 464.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.6551, allocations: 33.38 kB / 465 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.6553, allocations: 48.36 kB / 465 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.6567, allocations: 446.1 kB / 465.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.6568, allocations: 11.84 kB / 465.5 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.6569, allocations: 16 kB / 465.5 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.6569, allocations: 15.98 kB / 465.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6581, allocations: 323.7 kB / 465.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.6627, allocations: 1.845 MB / 467.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6644, allocations: 0.6093 MB / 468.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.6655, allocations: 289.9 kB / 468.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.6656, allocations: 8.328 kB / 468.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007931/0.6664, allocations: 277 kB / 468.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 6.572e-06/0.6664, allocations: 0 / 468.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.004531/0.6709, allocations: 0.8666 MB / 469.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.6711, allocations: 81.11 kB / 469.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/0.672, allocations: 308.5 kB / 470.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.6722, allocations: 37.7 kB / 470.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.6725, allocations: 212.4 kB / 470.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.6729, allocations: 134.1 kB / 470.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.6729, allocations: 8 kB / 470.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003353/0.6733, allocations: 350.8 kB / 470.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.674, allocations: 117.1 kB / 470.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.6748, allocations: 252.9 kB / 471.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.6763, allocations: 373.8 kB / 471.5 MB, free: 320 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.6764, allocations: 3.938 kB / 471.5 MB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002338/0.6787, allocations: 0.5125 MB / 472.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.6788, allocations: 8.422 kB / 472.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.6789, allocations: 8 kB / 472.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.68, allocations: 148.8 kB / 472.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.6805, allocations: 63.84 kB / 472.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.6871, allocations: 2.308 MB / 474.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/0.6882, allocations: 43.59 kB / 474.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.6884, allocations: 16 kB / 474.6 MB, free: 13.07 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.0007992/0.6892, allocations: 185 kB / 474.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.6895, allocations: 35.56 kB / 474.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.6898, allocations: 48.3 kB / 474.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.6898, allocations: 4 kB / 474.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6898, allocations: 4 kB / 474.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.6898, allocations: 0 / 474.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.6936, allocations: 1.024 MB / 475.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.6936, allocations: 0 / 475.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.694, allocations: 39.92 kB / 476 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009165/0.695, allocations: 143.3 kB / 476.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.6951, allocations: 8 kB / 476.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005195/0.7003, allocations: 2.308 MB / 478.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.7004, allocations: 7.938 kB / 478.4 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.703, allocations: 0.7116 MB / 479.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.7036, allocations: 152.6 kB / 479.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.7038, allocations: 19.94 kB / 479.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.7043, allocations: 11.98 kB / 479.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.7046, allocations: 31.95 kB / 479.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.7047, allocations: 19.98 kB / 479.4 MB, free: 8.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005824/0.7053, allocations: 211.1 kB / 479.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7053, allocations: 0 / 479.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001391/0.7067, allocations: 147.7 kB / 479.7 MB, free: 7.727 MB / 362.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,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.0004408/0.7072, allocations: 127.8 kB / 479.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.7094, allocations: 0.5257 MB / 480.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.505e-06/0.7095, allocations: 0 / 480.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.7106, allocations: 382 kB / 480.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7118, allocations: 88.25 kB / 480.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.7156, allocations: 1.049 MB / 481.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.7166, allocations: 0.8281 MB / 482.7 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7169, allocations: 31.44 kB / 482.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of SimCode: time 2.033e-06/0.7169, allocations: 0 / 482.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of Templates: time 0.02289/0.7398, allocations: 6.885 MB / 489.6 MB, free: 13.74 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