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.000978/0.0009782, allocations: 93.52 kB / 16.3 MB, free: 6.133 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.0008968/0.0008968, allocations: 179 kB / 17.2 MB, free: 6.016 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.1 MB, free: 276 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002224, allocations: 7.938 kB / 300.7 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08645, allocations: 50.41 MB / 351.2 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00322/0.08971, allocations: 3.013 MB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.09096, allocations: 0.9047 MB / 355.1 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.09115, allocations: 7.938 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.09132, allocations: 59.59 kB / 355.1 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.09165, allocations: 171.4 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.09191, allocations: 103.9 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.09234, allocations: 407.1 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.09259, allocations: 149.7 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.09279, allocations: 183.3 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.09303, allocations: 203.1 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.09309, allocations: 24 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.09316, allocations: 24 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.037e-05/0.09324, allocations: 91.59 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.09334, allocations: 113.5 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.0937, allocations: 466.7 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.09371, allocations: 0 / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09372, allocations: 0 / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.09373, allocations: 0 / 357 MB, free: 14.09 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.001126/0.09486, allocations: 0.6987 MB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.0949, allocations: 12.03 kB / 357.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.095, allocations: 59.3 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.09542, allocations: 351.1 kB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.09546, allocations: 33 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.09553, allocations: 47.94 kB / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.09622, allocations: 449.6 kB / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.09625, allocations: 0 / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.09629, allocations: 20 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.09631, allocations: 12 kB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.09688, allocations: 327.7 kB / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.09909, allocations: 1.875 MB / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.0998, allocations: 0.5969 MB / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.09984, allocations: 8.328 kB / 361.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/0.1003, allocations: 273.1 kB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.986e-06/0.1003, allocations: 3.984 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002282/0.1026, allocations: 0.846 MB / 362.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.1026, allocations: 81.11 kB / 362.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.103, allocations: 320.5 kB / 363 MB, free: 7.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.103, allocations: 33.7 kB / 363 MB, free: 7.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1032, allocations: 220.3 kB / 363.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.1033, allocations: 134 kB / 363.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.1033, allocations: 12 kB / 363.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1034, allocations: 346.8 kB / 363.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.1036, allocations: 117.1 kB / 363.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1039, allocations: 257 kB / 364.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1042, allocations: 148 kB / 364.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1042, allocations: 0 / 364.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008143/0.105, allocations: 0.5128 MB / 364.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.105, allocations: 6.812 kB / 364.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1051, allocations: 4 kB / 364.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.1055, allocations: 145 kB / 364.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1057, allocations: 75.84 kB / 365 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.1083, allocations: 2.331 MB / 367.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1086, allocations: 47.59 kB / 367.4 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.1086, allocations: 16 kB / 367.4 MB, free: 3.176 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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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 (40): * Single equations (assignments): 39 * 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.0001882/0.1088, allocations: 184.9 kB / 367.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.1089, allocations: 31.62 kB / 367.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.109, allocations: 48.3 kB / 367.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.109, allocations: 4 kB / 367.6 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.109, allocations: 11.95 kB / 367.6 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.109, allocations: 144 / 367.6 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.1103, allocations: 1.014 MB / 368.7 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1103, allocations: 0 / 368.7 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1105, allocations: 39.95 kB / 368.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.1109, allocations: 140.7 kB / 368.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.1109, allocations: 15.98 kB / 368.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1575/0.2685, allocations: 2.317 MB / 371.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2685, allocations: 4.469 kB / 371.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.2697, allocations: 0.7055 MB / 371.9 MB, free: 23.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.2699, allocations: 154.3 kB / 372 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.27, allocations: 9.844 kB / 372 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.2702, allocations: 22.53 kB / 372.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2703, allocations: 34.81 kB / 372.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.2704, allocations: 11.73 kB / 372.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.2706, allocations: 219.7 kB / 372.3 MB, free: 23.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2706, allocations: 5.875 kB / 372.3 MB, free: 23.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006639/0.2713, allocations: 147.1 kB / 372.5 MB, free: 23.08 MB / 302.1 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_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 (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.0001647/0.2715, allocations: 114.5 kB / 372.6 MB, free: 22.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2726, allocations: 0.5379 MB / 373.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2726, allocations: 0 / 373.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.2732, allocations: 389 kB / 373.5 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.000379/0.2736, allocations: 66.91 kB / 373.6 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2751, allocations: 1.03 MB / 374.6 MB, free: 22.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2754, allocations: 0.8349 MB / 375.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.2756, allocations: 38.81 kB / 375.5 MB, free: 21.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.2757, allocations: 32 kB / 375.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2757, allocations: 3.844 kB / 375.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of Templates: time 0.01184/0.2875, allocations: 6.063 MB / 381.6 MB, free: 20.66 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","../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