Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 228 MB / 247.1 MB, free: 9.535 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8.875 kB / 308 MB, free: 476 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 51.54 MB / 359.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004813/0.1187, allocations: 3.382 MB / 363 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1207, allocations: 0.9664 MB / 363.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1209, allocations: 7.938 kB / 363.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1211, allocations: 55.55 kB / 364 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.1215, allocations: 123 kB / 364.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1219, allocations: 155.8 kB / 364.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.1226, allocations: 0.5796 MB / 364.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.123, allocations: 195.2 kB / 365 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.1234, allocations: 195.1 kB / 365.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1237, allocations: 210.9 kB / 365.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.1238, allocations: 28 kB / 365.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.836e-05/0.1239, allocations: 31.94 kB / 365.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.124, allocations: 83.61 kB / 365.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1243, allocations: 268.3 kB / 365.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.125, allocations: 0.5836 MB / 366.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.125, allocations: 0 / 366.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.125, allocations: 0 / 366.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.125, allocations: 0 / 366.4 MB, free: 6.023 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.001429/0.1265, allocations: 0.7067 MB / 367.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1265, allocations: 8.031 kB / 367.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.1268, allocations: 72.27 kB / 367.2 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.1273, allocations: 368.7 kB / 367.6 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.1274, allocations: 33.38 kB / 367.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.1275, allocations: 48.36 kB / 367.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.1283, allocations: 465.5 kB / 368.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1284, allocations: 0 / 368.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.1284, allocations: 20 kB / 368.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1284, allocations: 8 kB / 368.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.1291, allocations: 331.8 kB / 368.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.1319, allocations: 1.89 MB / 370.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.1328, allocations: 0.6083 MB / 370.9 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.1334, allocations: 281.4 kB / 371.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1335, allocations: 8.266 kB / 371.2 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.134, allocations: 269.2 kB / 371.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.134, allocations: 0 / 371.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.1682/0.3022, allocations: 0.8496 MB / 372.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3023, allocations: 84.11 kB / 372.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.3027, allocations: 327.9 kB / 372.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3027, allocations: 40.06 kB / 372.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3029, allocations: 223.1 kB / 373 MB, free: 18.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.303, allocations: 141.9 kB / 373.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.303, allocations: 44.23 kB / 373.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.3031, allocations: 348 kB / 373.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.3033, allocations: 124.5 kB / 373.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3036, allocations: 256.2 kB / 373.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.3041, allocations: 388.4 kB / 374.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.3041, allocations: 1.031 kB / 374.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009231/0.3051, allocations: 0.5147 MB / 374.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3051, allocations: 6.688 kB / 374.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3051, allocations: 7.594 kB / 374.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.3056, allocations: 145.1 kB / 374.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3059, allocations: 63 kB / 375 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.3082, allocations: 2.325 MB / 377.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.3085, allocations: 52.3 kB / 377.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3085, allocations: 19.12 kB / 377.4 MB, free: 16.46 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.0001805/0.3087, allocations: 170 kB / 377.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.3087, allocations: 43.95 kB / 377.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.3088, allocations: 48.73 kB / 377.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3088, allocations: 4.297 kB / 377.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3089, allocations: 1.062 kB / 377.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.3089, allocations: 6.297 kB / 377.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.3102, allocations: 1.033 MB / 378.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3102, allocations: 4.938 kB / 378.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3104, allocations: 40.72 kB / 378.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/0.3107, allocations: 141.4 kB / 378.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3108, allocations: 11.97 kB / 378.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.3128, allocations: 2.307 MB / 381.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3129, allocations: 0 / 381.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3139, allocations: 0.7305 MB / 381.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.314, allocations: 150.8 kB / 382.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.3141, allocations: 15.81 kB / 382.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3143, allocations: 14.44 kB / 382.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.3144, allocations: 34.16 kB / 382.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3144, allocations: 21.53 kB / 382.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3146, allocations: 226.2 kB / 382.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3146, allocations: 0 / 382.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005781/0.3152, allocations: 146.1 kB / 382.5 MB, free: 12.99 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.0001129/0.3153, allocations: 120.5 kB / 382.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008211/0.3161, allocations: 0.5301 MB / 383.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3162, allocations: 0 / 383.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.3166, allocations: 383.5 kB / 383.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.3171, allocations: 75.5 kB / 383.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3185, allocations: 1.094 MB / 384.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3188, allocations: 0.8348 MB / 385.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.319, allocations: 41.88 kB / 385.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.319, allocations: 28.31 kB / 385.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.319, allocations: 0 / 385.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Templates: time 0.01163/0.3307, allocations: 6.407 MB / 392 MB, free: 9.402 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches