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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 91.06 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000802/0.0008021, allocations: 174.6 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002919, allocations: 4 kB / 301.4 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09849, allocations: 50.41 MB / 351.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003774/0.1023, allocations: 3.349 MB / 355.2 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1039, allocations: 0.8846 MB / 356.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.1043, allocations: 15.94 kB / 356.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1046, allocations: 59.53 kB / 356.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.1051, allocations: 119 kB / 356.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1055, allocations: 143.9 kB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000935/0.1065, allocations: 0.5719 MB / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.107, allocations: 183.2 kB / 357.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.1076, allocations: 183.2 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.1081, allocations: 214.9 kB / 357.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.1082, allocations: 24 kB / 357.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1084, allocations: 24 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1085, allocations: 83.56 kB / 357.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.1089, allocations: 260.4 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.1096, allocations: 0.5682 MB / 358.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1096, allocations: 0 / 358.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1097, allocations: 4 kB / 358.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.1097, allocations: 4 kB / 358.5 MB, free: 12.73 MB / 302.1 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.001556/0.1113, allocations: 0.6911 MB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1113, allocations: 12.03 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.1115, allocations: 56.28 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.1119, allocations: 364.1 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.112, allocations: 29.38 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.1121, allocations: 52.3 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.1129, allocations: 465.5 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.113, allocations: 3.938 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.113, allocations: 16 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1131, allocations: 12 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.1138, allocations: 323.8 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.1164, allocations: 1.883 MB / 362.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.1172, allocations: 0.6048 MB / 363 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.1178, allocations: 276.5 kB / 363.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1178, allocations: 4.328 kB / 363.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/0.1183, allocations: 277.1 kB / 363.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.1183, allocations: 3.938 kB / 363.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002333/0.1207, allocations: 0.8578 MB / 364.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.1207, allocations: 89.09 kB / 364.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.1211, allocations: 304.6 kB / 364.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.1211, allocations: 37.7 kB / 364.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1213, allocations: 220.2 kB / 365 MB, free: 5.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1214, allocations: 138.1 kB / 365.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.1214, allocations: 41.7 kB / 365.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1216, allocations: 350.7 kB / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1218, allocations: 125.1 kB / 365.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1221, allocations: 257 kB / 365.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.1227, allocations: 382.8 kB / 366.3 MB, free: 4.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1227, allocations: 0 / 366.3 MB, free: 4.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000832/0.1236, allocations: 0.5091 MB / 366.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1236, allocations: 8 kB / 366.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1236, allocations: 4 kB / 366.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/0.1241, allocations: 164.7 kB / 367 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1243, allocations: 59.91 kB / 367 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.127, allocations: 2.318 MB / 369.4 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.1273, allocations: 43.62 kB / 369.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.1273, allocations: 16 kB / 369.4 MB, free: 1.199 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.1276, allocations: 181.8 kB / 369.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1276, allocations: 35.53 kB / 369.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.703e-05/0.1277, allocations: 48.3 kB / 369.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1278, allocations: 12 kB / 369.7 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1278, allocations: 3.938 kB / 369.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1278, allocations: 0 / 369.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.175/0.3028, allocations: 1.019 MB / 370.7 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.3028, allocations: 1.141 kB / 370.7 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3031, allocations: 35.22 kB / 370.8 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.3035, allocations: 144 kB / 370.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.3036, allocations: 14.28 kB / 370.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.3061, allocations: 2.311 MB / 373.2 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3061, allocations: 0 / 373.2 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3074, allocations: 0.7278 MB / 373.9 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3075, allocations: 151.9 kB / 374.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3076, allocations: 11.64 kB / 374.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3078, allocations: 19.55 kB / 374.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.308, allocations: 29.95 kB / 374.2 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.308, allocations: 20.72 kB / 374.2 MB, free: 22.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.3082, allocations: 219.4 kB / 374.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3082, allocations: 5.531 kB / 374.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.3089, allocations: 147.6 kB / 374.5 MB, free: 22.69 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.309, allocations: 118.7 kB / 374.7 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3101, allocations: 0.533 MB / 375.2 MB, free: 22.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3101, allocations: 3.938 kB / 375.2 MB, free: 22.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.3106, allocations: 380.5 kB / 375.6 MB, free: 22.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3112, allocations: 79.02 kB / 375.6 MB, free: 22.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3127, allocations: 1.071 MB / 376.7 MB, free: 21.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.313, allocations: 0.8262 MB / 377.5 MB, free: 20.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3132, allocations: 36.89 kB / 377.6 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.3132, allocations: 28.25 kB / 377.6 MB, free: 20.81 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3133, allocations: 0 / 377.6 MB, free: 20.81 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.3251, allocations: 6.325 MB / 383.9 MB, free: 19.73 MB / 302.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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