Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001365/0.001365, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001604/0.001604, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 48.14 kB / 282.1 MB, free: 2.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08805, allocations: 46.63 MB / 328.7 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005551/0.09364, allocations: 4.666 MB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.09588, allocations: 1.337 MB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.09614, allocations: 31.81 kB / 334.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.09674, allocations: 218.4 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.09739, allocations: 350 kB / 335.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.09776, allocations: 215.7 kB / 335.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.09909, allocations: 1.533 MB / 337.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009228/0.1, allocations: 0.9176 MB / 338 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.1006, allocations: 0.6308 MB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.1014, allocations: 0.7627 MB / 339.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.1016, allocations: 164 kB / 339.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.1019, allocations: 163.9 kB / 339.7 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.1022, allocations: 434.8 kB / 340.1 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.1029, allocations: 0.7272 MB / 340.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1045, allocations: 2.064 MB / 342.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1045, allocations: 4 kB / 342.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1045, allocations: 0 / 342.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.1045, allocations: 0 / 342.9 MB, free: 5.453 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002648/0.1072, allocations: 1.623 MB / 344.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1072, allocations: 12.03 kB / 344.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.1074, allocations: 139.2 kB / 344.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1088, allocations: 0.8761 MB / 345.6 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.1089, allocations: 70.38 kB / 345.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.109, allocations: 108.1 kB / 345.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.111, allocations: 1.423 MB / 347.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.1111, allocations: 0 / 347.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.1112, allocations: 55.92 kB / 347.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.1112, allocations: 38 kB / 347.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.1131, allocations: 1.288 MB / 348.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.1188, allocations: 4.281 MB / 352.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.1208, allocations: 1.963 MB / 354.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009868/0.1218, allocations: 0.6181 MB / 355.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.1219, allocations: 8.656 kB / 355.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009761/0.1229, allocations: 0.6015 MB / 356 MB, free: 7.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 1.994e-06/0.1229, allocations: 0 / 356 MB, free: 7.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007092/0.13, allocations: 2.832 MB / 358.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.1301, allocations: 111.5 kB / 359 MB, free: 4.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1312, allocations: 0.8284 MB / 359.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.1313, allocations: 41.7 kB / 359.8 MB, free: 3.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.1317, allocations: 487.8 kB / 360.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.132, allocations: 240.5 kB / 360.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.1322, allocations: 142.6 kB / 360.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1324, allocations: 394.7 kB / 361.1 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.133, allocations: 393.7 kB / 361.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.1338, allocations: 0.5532 MB / 362 MB, free: 1.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1352, allocations: 0.9075 MB / 362.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1352, allocations: 0 / 362.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002098/0.1373, allocations: 1.326 MB / 364.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1374, allocations: 4 kB / 364.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1374, allocations: 4 kB / 364.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.1385, allocations: 476.3 kB / 364.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.1388, allocations: 95.83 kB / 364.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007367/0.1462, allocations: 5.562 MB / 370.4 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.1469, allocations: 91.33 kB / 370.5 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.147, allocations: 28 kB / 370.5 MB, free: 9.047 MB / 318.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0007606/0.1477, allocations: 463.2 kB / 370.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1479, allocations: 86.97 kB / 371 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.1481, allocations: 112.5 kB / 371.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1481, allocations: 8 kB / 371.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1481, allocations: 0 / 371.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1481, allocations: 3.984 kB / 371.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.1521, allocations: 2.602 MB / 373.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1521, allocations: 0 / 373.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.1525, allocations: 63.91 kB / 373.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009671/0.1534, allocations: 460.3 kB / 374.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.1535, allocations: 12 kB / 374.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1457/0.2992, allocations: 5.548 MB / 379.8 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2992, allocations: 0.9844 kB / 379.8 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.3022, allocations: 1.917 MB / 381.7 MB, free: 52.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.3028, allocations: 272.5 kB / 382 MB, free: 52.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.303, allocations: 14.75 kB / 382 MB, free: 52.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.3034, allocations: 39.45 kB / 382 MB, free: 52.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.3037, allocations: 77.33 kB / 382.1 MB, free: 52.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.3037, allocations: 22.3 kB / 382.1 MB, free: 52.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007672/0.3045, allocations: 0.5883 MB / 382.7 MB, free: 52.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3045, allocations: 0 / 382.7 MB, free: 52.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009757/0.3055, allocations: 344.4 kB / 383.1 MB, free: 52.39 MB / 318.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001662/0.3057, allocations: 124.1 kB / 383.2 MB, free: 52.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3077, allocations: 1.292 MB / 384.5 MB, free: 51.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3077, allocations: 1.5 kB / 384.5 MB, free: 51.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.3089, allocations: 0.822 MB / 385.3 MB, free: 51.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.31, allocations: 278.9 kB / 385.6 MB, free: 51.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.3139, allocations: 2.317 MB / 387.9 MB, free: 50.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.315, allocations: 1.323 MB / 389.2 MB, free: 49.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004943/0.3155, allocations: 145.1 kB / 389.4 MB, free: 49.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3157, allocations: 54 kB / 389.4 MB, free: 49.5 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3157, allocations: 0 / 389.4 MB, free: 49.5 MB / 318.1 MB Notification: Performance of Templates: time 0.02366/0.3393, allocations: 19.56 MB / 409 MB, free: 35.26 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches