Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 114.5 kB / 17.73 MB, free: 5.344 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.001727/0.001727, allocations: 187 kB / 18.66 MB, free: 4.418 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.815/1.815, allocations: 205.1 MB / 224.5 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.001349/0.001349, allocations: 63.91 kB / 328.5 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005807/0.119, allocations: 3.662 MB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2551/0.3741, allocations: 0.9518 MB / 379.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.375, allocations: 12.31 kB / 379.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.3754, allocations: 78 kB / 379.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.3762, allocations: 146.6 kB / 380 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.3768, allocations: 159.9 kB / 380.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009486/0.3778, allocations: 0.6057 MB / 380.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.3783, allocations: 213.4 kB / 381 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.3787, allocations: 230.7 kB / 381.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.3792, allocations: 249.1 kB / 381.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3793, allocations: 55.12 kB / 381.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3794, allocations: 54.28 kB / 381.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3796, allocations: 118.5 kB / 381.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.38, allocations: 265.2 kB / 381.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3811, allocations: 0.6243 MB / 382.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3811, allocations: 0.5156 kB / 382.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3811, allocations: 0.625 kB / 382.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3812, allocations: 3.531 kB / 382.6 MB, free: 9.363 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00214/0.3833, allocations: 0.769 MB / 383.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.3834, allocations: 14.33 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.3836, allocations: 57 kB / 383.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.3843, allocations: 359.3 kB / 383.7 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.3843, allocations: 29.62 kB / 383.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3845, allocations: 50.08 kB / 383.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.3857, allocations: 454.7 kB / 384.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3857, allocations: 3.906 kB / 384.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.3858, allocations: 17.47 kB / 384.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3858, allocations: 14.12 kB / 384.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.3867, allocations: 319.6 kB / 384.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.3899, allocations: 1.816 MB / 386.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3909, allocations: 0.6124 MB / 387 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.3918, allocations: 275.3 kB / 387.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.3919, allocations: 4.891 kB / 387.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006747/0.3926, allocations: 269.2 kB / 387.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.617e-06/0.3926, allocations: 0 / 387.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.003499/0.3961, allocations: 0.8391 MB / 388.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.3962, allocations: 91.73 kB / 388.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/0.3968, allocations: 313.2 kB / 388.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.3969, allocations: 39.64 kB / 388.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.3971, allocations: 216.6 kB / 389.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.3972, allocations: 129.4 kB / 389.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.3974, allocations: 87.22 kB / 389.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3976, allocations: 351 kB / 389.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.3979, allocations: 118.2 kB / 389.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/0.3984, allocations: 252.4 kB / 390 MB, free: 4.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.3992, allocations: 376.6 kB / 390.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3993, allocations: 7.094 kB / 390.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001404/0.4007, allocations: 0.5059 MB / 390.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4007, allocations: 10.06 kB / 390.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4008, allocations: 3.688 kB / 390.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/0.4014, allocations: 147.6 kB / 391 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.4018, allocations: 73.98 kB / 391.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.4054, allocations: 2.548 MB / 393.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.4059, allocations: 44.39 kB / 393.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.4059, allocations: 19.12 kB / 393.7 MB, free: 2.035 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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0003436/0.4063, allocations: 179.5 kB / 393.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4064, allocations: 41.64 kB / 393.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.4065, allocations: 46.89 kB / 394 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.4066, allocations: 5.422 kB / 394 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.4066, allocations: 3.938 kB / 394 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.4066, allocations: 3.625 kB / 394 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.409, allocations: 1.023 MB / 395 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.409, allocations: 1.25 kB / 395 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.4093, allocations: 35.64 kB / 395 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006296/0.41, allocations: 143.4 kB / 395.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.41, allocations: 13.05 kB / 395.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.4136, allocations: 2.535 MB / 397.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4136, allocations: 1.125 kB / 397.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.4151, allocations: 0.721 MB / 398.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.4155, allocations: 151.8 kB / 398.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.4156, allocations: 7.031 kB / 398.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.416, allocations: 21.22 kB / 398.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.4162, allocations: 31.58 kB / 398.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.4162, allocations: 18.83 kB / 398.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.4167, allocations: 221.9 kB / 398.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4167, allocations: 0 / 398.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001046/0.4178, allocations: 144.3 kB / 399 MB, free: 14.36 MB / 334.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,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 (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.0002163/0.418, allocations: 113.4 kB / 399.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.4195, allocations: 0.5366 MB / 399.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4196, allocations: 1.281 kB / 399.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008269/0.4204, allocations: 383.9 kB / 400 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.4212, allocations: 82.14 kB / 400.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.4237, allocations: 0.8446 MB / 401 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.4243, allocations: 0.8297 MB / 401.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.4246, allocations: 36.88 kB / 401.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4247, allocations: 29.09 kB / 401.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4247, allocations: 0 / 401.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Templates: time 0.01877/0.4435, allocations: 6.988 MB / 408.9 MB, free: 9.926 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches