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.001328/0.001328, allocations: 113.2 kB / 17.73 MB, free: 5.324 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.001393/0.001393, allocations: 184.2 kB / 18.66 MB, free: 4.402 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.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002266/0.002266, allocations: 51.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1228, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2098/0.3327, allocations: 4.659 MB / 379.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.3362, allocations: 1.342 MB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.3371, allocations: 24.66 kB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3382, allocations: 216.3 kB / 381.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.3393, allocations: 343.7 kB / 381.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.3399, allocations: 216.1 kB / 381.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.342, allocations: 1.55 MB / 383.5 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.3432, allocations: 0.9168 MB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3442, allocations: 0.6358 MB / 385.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3453, allocations: 0.76 MB / 385.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.3456, allocations: 164.3 kB / 386 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.3459, allocations: 161.5 kB / 386.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.3463, allocations: 440.9 kB / 386.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007855/0.3471, allocations: 0.7216 MB / 387.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.3495, allocations: 2.075 MB / 389.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3496, allocations: 0 / 389.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3496, allocations: 1.188 kB / 389.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.331e-05/0.3496, allocations: 3.938 kB / 389.4 MB, free: 6.691 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.004402/0.3541, allocations: 1.62 MB / 391 MB, free: 5.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3541, allocations: 8.906 kB / 391 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.3545, allocations: 137.1 kB / 391.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.356, allocations: 0.8789 MB / 392 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.356, allocations: 71.47 kB / 392.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.3562, allocations: 101.6 kB / 392.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.3589, allocations: 1.439 MB / 393.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.3589, allocations: 1.953 kB / 393.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.359, allocations: 41.64 kB / 393.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/0.3591, allocations: 41.31 kB / 393.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.3613, allocations: 1.291 MB / 395 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0097/0.371, allocations: 4.267 MB / 399.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.3739, allocations: 1.968 MB / 401.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.376, allocations: 0.7446 MB / 402 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.3761, allocations: 9.812 kB / 402 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.3777, allocations: 0.5998 MB / 402.6 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 4.799e-06/0.3777, allocations: 0 / 402.6 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.009665/0.3874, allocations: 2.824 MB / 405.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.3875, allocations: 120.4 kB / 405.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.389, allocations: 0.8178 MB / 406.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.3891, allocations: 41.3 kB / 406.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005028/0.3896, allocations: 482.3 kB / 406.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.3899, allocations: 245.1 kB / 407.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3901, allocations: 129.1 kB / 407.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002927/0.3904, allocations: 401.9 kB / 407.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.3911, allocations: 395.6 kB / 408 MB, free: 11.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.392, allocations: 0.5484 MB / 408.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.3933, allocations: 0.9198 MB / 409.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3933, allocations: 5.484 kB / 409.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002177/0.3955, allocations: 1.308 MB / 410.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3955, allocations: 7.062 kB / 410.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3955, allocations: 3.344 kB / 410.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.3967, allocations: 479.9 kB / 411.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.3971, allocations: 93.52 kB / 411.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/0.405, allocations: 5.568 MB / 416.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.4061, allocations: 83.38 kB / 417 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.4061, allocations: 28 kB / 417 MB, free: 4.336 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.001032/0.4072, allocations: 463.1 kB / 417.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.4074, allocations: 83.06 kB / 417.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.4077, allocations: 112.5 kB / 417.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4077, allocations: 8 kB / 417.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4077, allocations: 4 kB / 417.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4077, allocations: 3.984 kB / 417.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.4124, allocations: 2.595 MB / 420.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.4125, allocations: 0 / 420.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.4128, allocations: 67.89 kB / 420.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.414, allocations: 460.6 kB / 420.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.4141, allocations: 12 kB / 420.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007685/0.4218, allocations: 5.505 MB / 426.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4218, allocations: 0 / 426.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.4248, allocations: 1.916 MB / 428.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.4254, allocations: 271.9 kB / 428.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4255, allocations: 16 kB / 428.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.426, allocations: 43.94 kB / 428.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.4262, allocations: 72.55 kB / 428.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.4263, allocations: 19.94 kB / 428.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000831/0.4271, allocations: 0.5965 MB / 429.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4271, allocations: 4 kB / 429.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001175/0.4283, allocations: 339.1 kB / 429.6 MB, free: 7.555 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.0002119/0.4285, allocations: 127.2 kB / 429.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.4309, allocations: 1.278 MB / 431 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4309, allocations: 0.875 kB / 431 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.4323, allocations: 0.8277 MB / 431.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4337, allocations: 276.6 kB / 432.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.4379, allocations: 2.3 MB / 434.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.4391, allocations: 1.325 MB / 435.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.4397, allocations: 139.3 kB / 435.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4399, allocations: 59.42 kB / 435.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4399, allocations: 0 / 435.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Templates: time 0.05237/0.4923, allocations: 19.79 MB / 455.7 MB, free: 13.33 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/jenkins/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/jenkins/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