Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001243/0.001243, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.352/1.352, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009644/0.0009644, allocations: 47.81 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1037, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.009363/0.1131, allocations: 4.719 MB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.1169, allocations: 1.285 MB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000857/0.1178, allocations: 27.88 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1189, allocations: 222.4 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1205, allocations: 354 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.1212, allocations: 203.7 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.1239, allocations: 1.522 MB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.1258, allocations: 0.9692 MB / 360 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.127, allocations: 0.6347 MB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.1286, allocations: 0.7666 MB / 361.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.1292, allocations: 164 kB / 361.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.1298, allocations: 164 kB / 361.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007105/0.1305, allocations: 434.8 kB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.132, allocations: 0.7312 MB / 362.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.1349, allocations: 2.06 MB / 365 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1349, allocations: 0 / 365 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1349, allocations: 0 / 365 MB, free: 6.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.71e-05/0.135, allocations: 0 / 365 MB, free: 6.117 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005196/0.1402, allocations: 1.642 MB / 366.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1403, allocations: 12.03 kB / 366.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/0.1408, allocations: 135.3 kB / 366.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1431, allocations: 0.9111 MB / 367.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.1432, allocations: 78.36 kB / 367.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.1435, allocations: 100.1 kB / 367.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/0.1474, allocations: 1.439 MB / 369.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.1475, allocations: 3.906 kB / 369.3 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.1477, allocations: 44 kB / 369.3 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.776e-05/0.1478, allocations: 41.98 kB / 369.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.1513, allocations: 1.296 MB / 370.7 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2247/0.376, allocations: 4.333 MB / 375 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.3786, allocations: 1.964 MB / 377 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.38, allocations: 0.6186 MB / 377.6 MB, free: 21.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.38, allocations: 12.52 kB / 377.6 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.3814, allocations: 0.5972 MB / 378.2 MB, free: 21.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 4.037e-06/0.3814, allocations: 0 / 378.2 MB, free: 21.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.01139/0.3928, allocations: 2.743 MB / 380.9 MB, free: 20.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3929, allocations: 117.8 kB / 381 MB, free: 20.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.3946, allocations: 0.8241 MB / 381.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/0.3947, allocations: 43.19 kB / 381.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.3952, allocations: 487.4 kB / 382.4 MB, free: 19.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.3955, allocations: 244.1 kB / 382.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.3958, allocations: 133.7 kB / 382.8 MB, free: 19.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.396, allocations: 394.8 kB / 383.1 MB, free: 19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/0.3969, allocations: 393.3 kB / 383.5 MB, free: 18.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.398, allocations: 0.5459 MB / 384.1 MB, free: 18.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.3999, allocations: 0.9111 MB / 385 MB, free: 18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3999, allocations: 0.9062 kB / 385 MB, free: 18 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003207/0.4031, allocations: 1.313 MB / 386.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.4032, allocations: 6.844 kB / 386.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4032, allocations: 3.469 kB / 386.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.4048, allocations: 481.9 kB / 386.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.4054, allocations: 97.67 kB / 386.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009884/0.4153, allocations: 5.59 MB / 392.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4164, allocations: 85.64 kB / 392.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.4165, allocations: 31.27 kB / 392.6 MB, free: 12.94 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: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.4176, allocations: 460.6 kB / 393 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.4179, allocations: 82.34 kB / 393.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.4182, allocations: 119 kB / 393.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4182, allocations: 7.125 kB / 393.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4183, allocations: 1.219 kB / 393.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4183, allocations: 7.984 kB / 393.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.4244, allocations: 2.602 MB / 395.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4245, allocations: 0 / 395.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.425, allocations: 68.47 kB / 395.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.4265, allocations: 470.4 kB / 396.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.4266, allocations: 11.78 kB / 396.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009318/0.4359, allocations: 5.534 MB / 401.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.436, allocations: 0 / 401.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.44, allocations: 1.912 MB / 403.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.4407, allocations: 275.8 kB / 404.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.441, allocations: 16 kB / 404.1 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.4416, allocations: 43.95 kB / 404.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.4418, allocations: 72.55 kB / 404.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.4419, allocations: 16 kB / 404.2 MB, free: 3.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006646/0.4426, allocations: 0.5965 MB / 404.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4426, allocations: 0 / 404.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4436, allocations: 339.1 kB / 405.2 MB, free: 2.203 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.4438, allocations: 146.2 kB / 405.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.446, allocations: 1.425 MB / 406.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.446, allocations: 7.938 kB / 406.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4472, allocations: 0.8328 MB / 407.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.4484, allocations: 257 kB / 407.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.4528, allocations: 2.36 MB / 410.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.454, allocations: 1.299 MB / 411.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.4542, allocations: 59.42 kB / 411.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4542, allocations: 0 / 411.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of Templates: time 0.02905/0.4833, allocations: 20.6 MB / 432.1 MB, free: 7.238 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches