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.00115/0.00115, allocations: 108 kB / 18.4 MB, free: 4.703 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.001257/0.001256, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.419/1.419, 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.001186/0.001186, allocations: 48.36 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.275/0.3766, allocations: 4.668 MB / 380.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.3804, allocations: 1.347 MB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.3809, allocations: 23.69 kB / 381.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.3818, allocations: 211.5 kB / 382.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009813/0.3828, allocations: 345 kB / 382.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.3833, allocations: 211.6 kB / 382.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.3855, allocations: 1.553 MB / 384.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.3869, allocations: 0.9155 MB / 385.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.388, allocations: 0.642 MB / 385.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.3896, allocations: 0.7507 MB / 386.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.39, allocations: 163.1 kB / 386.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.3905, allocations: 166.1 kB / 386.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006452/0.3911, allocations: 445.4 kB / 387.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.3922, allocations: 0.7174 MB / 387.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.3953, allocations: 2.074 MB / 390 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3953, allocations: 0 / 390 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.3953, allocations: 1.094 kB / 390 MB, free: 6.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.511e-05/0.3954, allocations: 3.938 kB / 390 MB, free: 6.711 MB / 318.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.003858/0.3993, allocations: 1.623 MB / 391.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3993, allocations: 9.312 kB / 391.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.3996, allocations: 136.9 kB / 391.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.401, allocations: 0.8777 MB / 392.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/0.4011, allocations: 72.7 kB / 392.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.4013, allocations: 99.72 kB / 392.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.4042, allocations: 1.44 MB / 394.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.4043, allocations: 1.188 kB / 394.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.4044, allocations: 40.8 kB / 394.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.331e-05/0.4045, allocations: 40.97 kB / 394.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.4073, allocations: 1.288 MB / 395.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006763/0.4141, allocations: 4.269 MB / 399.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.4162, allocations: 1.976 MB / 401.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.4178, allocations: 0.74 MB / 402.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.4179, allocations: 11.91 kB / 402.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.419, allocations: 0.5952 MB / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 3.958e-06/0.4191, allocations: 1 kB / 403.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.008374/0.4274, allocations: 2.826 MB / 406.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.4276, allocations: 112 kB / 406.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.4292, allocations: 0.8203 MB / 407 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.4293, allocations: 41.67 kB / 407 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.4299, allocations: 493.5 kB / 407.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.4302, allocations: 240.8 kB / 407.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.4304, allocations: 130.3 kB / 407.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.4307, allocations: 393.3 kB / 408.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.4314, allocations: 396 kB / 408.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/0.4323, allocations: 0.5527 MB / 409.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.4339, allocations: 0.9243 MB / 410.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4339, allocations: 0 / 410.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002596/0.4365, allocations: 1.308 MB / 411.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.4366, allocations: 5.969 kB / 411.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4366, allocations: 4.719 kB / 411.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.4379, allocations: 482.9 kB / 411.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.4384, allocations: 94.92 kB / 412 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008315/0.4467, allocations: 5.569 MB / 417.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.4476, allocations: 83.45 kB / 417.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.4476, allocations: 24 kB / 417.7 MB, free: 4.34 MB / 334.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.001078/0.4487, allocations: 467.1 kB / 418.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4489, allocations: 83.05 kB / 418.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.4491, allocations: 112.6 kB / 418.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4491, allocations: 8 kB / 418.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4492, allocations: 0 / 418.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4492, allocations: 3.984 kB / 418.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.4533, allocations: 2.599 MB / 420.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4533, allocations: 0 / 420.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.4536, allocations: 63.89 kB / 421 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.4546, allocations: 456.6 kB / 421.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.4547, allocations: 20 kB / 421.5 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007297/0.462, allocations: 5.494 MB / 427 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4621, allocations: 4 kB / 427 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.4652, allocations: 1.915 MB / 428.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.4658, allocations: 271.9 kB / 429.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.466, allocations: 16 kB / 429.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.4664, allocations: 43.95 kB / 429.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4666, allocations: 72.55 kB / 429.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.4667, allocations: 27.92 kB / 429.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009253/0.4676, allocations: 0.5888 MB / 429.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4676, allocations: 0 / 429.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001296/0.4689, allocations: 335.1 kB / 430.2 MB, free: 7.566 MB / 350.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.0003024/0.4692, allocations: 133.1 kB / 430.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.4715, allocations: 1.28 MB / 431.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.4715, allocations: 4 kB / 431.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4728, allocations: 0.8247 MB / 432.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.474, allocations: 278.2 kB / 432.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.4788, allocations: 2.31 MB / 435 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4799, allocations: 1.303 MB / 436.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4801, allocations: 55.44 kB / 436.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4801, allocations: 0 / 436.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Templates: time 0.03141/0.5115, allocations: 20.76 MB / 457.2 MB, free: 12.5 MB / 382.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 -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