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.001398/0.001398, allocations: 104.5 kB / 16.92 MB, free: 6.199 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.001338/0.001338, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.3/1.3, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.45 kB / 300.6 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1013, allocations: 49.43 MB / 350.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004677/0.106, allocations: 3.697 MB / 353.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1077, allocations: 0.9235 MB / 354.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.1079, allocations: 11.94 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1081, allocations: 79.22 kB / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1085, allocations: 142.8 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1088, allocations: 163.7 kB / 355.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.1093, allocations: 0.6031 MB / 355.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.1097, allocations: 212.1 kB / 355.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1099, allocations: 227.2 kB / 356.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.1102, allocations: 250.9 kB / 356.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/0.1103, allocations: 56 kB / 356.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.1104, allocations: 56 kB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1105, allocations: 119.5 kB / 356.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1107, allocations: 278.7 kB / 356.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.1112, allocations: 0.6152 MB / 357.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1112, allocations: 0 / 357.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1112, allocations: 0 / 357.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1112, allocations: 3.938 kB / 357.5 MB, free: 12.96 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.001234/0.1125, allocations: 0.7872 MB / 358.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1125, allocations: 8.031 kB / 358.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1126, allocations: 56.28 kB / 358.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1131, allocations: 360.2 kB / 358.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1131, allocations: 37.38 kB / 358.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.1132, allocations: 40.38 kB / 358.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.1138, allocations: 465.5 kB / 359.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1139, allocations: 0 / 359.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1139, allocations: 23.94 kB / 359.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1139, allocations: 12 kB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.1145, allocations: 323.8 kB / 359.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.1167, allocations: 1.859 MB / 361.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.1175, allocations: 0.6013 MB / 362 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.1181, allocations: 273.3 kB / 362.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1181, allocations: 4.328 kB / 362.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/0.1186, allocations: 277.1 kB / 362.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1186, allocations: 0 / 362.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002358/0.121, allocations: 0.8344 MB / 363.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.121, allocations: 93.03 kB / 363.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.1214, allocations: 308.5 kB / 363.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.1214, allocations: 37.7 kB / 363.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1216, allocations: 220.3 kB / 364 MB, free: 6.043 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.1217, allocations: 138 kB / 364.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1218, allocations: 86.25 kB / 364.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.122, allocations: 350.7 kB / 364.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1222, allocations: 121.1 kB / 364.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.1226, allocations: 256.9 kB / 365 MB, free: 5.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.1231, allocations: 386.6 kB / 365.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1231, allocations: 0 / 365.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008345/0.124, allocations: 0.5013 MB / 365.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.124, allocations: 8 kB / 365.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.124, allocations: 4 kB / 365.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.1246, allocations: 157 kB / 366 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1248, allocations: 63.91 kB / 366.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.1278, allocations: 2.536 MB / 368.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.128, allocations: 51.62 kB / 368.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.1281, allocations: 16 kB / 368.7 MB, free: 1.121 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.0002069/0.1283, allocations: 178.6 kB / 368.8 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/0.1284, allocations: 39.61 kB / 368.9 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.1285, allocations: 48.23 kB / 368.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1285, allocations: 8 kB / 368.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1285, allocations: 4 kB / 368.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1285, allocations: 144 / 368.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1528/0.2813, allocations: 1.024 MB / 370 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2814, allocations: 0.5156 kB / 370 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.2816, allocations: 41.42 kB / 370 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.282, allocations: 145.7 kB / 370.2 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.2821, allocations: 11.86 kB / 370.2 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.2846, allocations: 2.535 MB / 372.7 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2846, allocations: 5.906 kB / 372.7 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2857, allocations: 0.7132 MB / 373.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2859, allocations: 155.2 kB / 373.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.2859, allocations: 12.5 kB / 373.6 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2862, allocations: 12.92 kB / 373.6 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2863, allocations: 35.61 kB / 373.6 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.2863, allocations: 15.59 kB / 373.6 MB, free: 23.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.2866, allocations: 220.3 kB / 373.9 MB, free: 23.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2866, allocations: 0 / 373.9 MB, free: 23.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006339/0.2872, allocations: 144.3 kB / 374 MB, free: 23.32 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.0001398/0.2874, allocations: 124.7 kB / 374.1 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009628/0.2883, allocations: 0.5382 MB / 374.7 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2883, allocations: 1.75 kB / 374.7 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.2888, allocations: 388.8 kB / 375 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.2893, allocations: 87.48 kB / 375.1 MB, free: 22.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2908, allocations: 0.8631 MB / 376 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2911, allocations: 0.8252 MB / 376.8 MB, free: 21.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.2913, allocations: 41.41 kB / 376.9 MB, free: 21.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.2913, allocations: 28.55 kB / 376.9 MB, free: 21.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2913, allocations: 0 / 376.9 MB, free: 21.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01266/0.304, allocations: 6.881 MB / 383.8 MB, free: 20.18 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