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.001633/0.001633, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.002087/0.002087, allocations: 180.1 kB / 18.66 MB, free: 4.438 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.438/1.438, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001223/0.001223, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09907, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.2217/0.3208, allocations: 4.658 MB / 379.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.324, allocations: 1.352 MB / 381.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.3243, allocations: 23.47 kB / 381.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.3251, allocations: 210.7 kB / 381.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006964/0.3258, allocations: 345.1 kB / 381.7 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.3261, allocations: 216.1 kB / 382 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3277, allocations: 1.549 MB / 383.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.3288, allocations: 0.9111 MB / 384.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/0.3297, allocations: 0.6347 MB / 385 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008779/0.3305, allocations: 0.7577 MB / 385.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.3308, allocations: 162.2 kB / 386 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.3311, allocations: 166 kB / 386.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.3315, allocations: 435.2 kB / 386.6 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.3321, allocations: 0.7234 MB / 387.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.3344, allocations: 2.09 MB / 389.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3344, allocations: 1.062 kB / 389.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3344, allocations: 0 / 389.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.3344, allocations: 0 / 389.4 MB, free: 6.703 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.003181/0.3376, allocations: 1.659 MB / 391 MB, free: 5.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3377, allocations: 10.03 kB / 391 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.3379, allocations: 143.8 kB / 391.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.3394, allocations: 0.8831 MB / 392.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.3394, allocations: 73.66 kB / 392.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.3396, allocations: 97.42 kB / 392.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.342, allocations: 1.434 MB / 393.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.3421, allocations: 1.031 kB / 393.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.3422, allocations: 42.98 kB / 393.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.3423, allocations: 41.91 kB / 393.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.3444, allocations: 1.287 MB / 395 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/0.3499, allocations: 4.288 MB / 399.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3516, allocations: 1.971 MB / 401.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.353, allocations: 0.7403 MB / 402 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.353, allocations: 9.016 kB / 402 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009198/0.354, allocations: 0.5966 MB / 402.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.294e-06/0.354, allocations: 0 / 402.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007598/0.3616, allocations: 2.825 MB / 405.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3617, allocations: 120.5 kB / 405.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.363, allocations: 0.8242 MB / 406.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.3631, allocations: 38.64 kB / 406.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.3636, allocations: 494.8 kB / 406.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.3638, allocations: 258 kB / 407.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.3641, allocations: 133.7 kB / 407.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3643, allocations: 392.7 kB / 407.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.3649, allocations: 394.9 kB / 408.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.3657, allocations: 0.5499 MB / 408.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.367, allocations: 0.9194 MB / 409.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.367, allocations: 1.562 kB / 409.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002119/0.3691, allocations: 1.32 MB / 410.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3692, allocations: 6.969 kB / 410.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.3692, allocations: 3.344 kB / 410.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.3703, allocations: 471.5 kB / 411.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.3707, allocations: 99.09 kB / 411.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.3779, allocations: 5.574 MB / 417 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.3787, allocations: 79.64 kB / 417.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.3788, allocations: 31.98 kB / 417.1 MB, free: 4.242 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.0009039/0.3797, allocations: 463.2 kB / 417.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.3799, allocations: 95.38 kB / 417.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.3802, allocations: 116.5 kB / 417.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.3802, allocations: 11.98 kB / 417.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3803, allocations: 0 / 417.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.3803, allocations: 3.984 kB / 417.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/0.3847, allocations: 2.595 MB / 420.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3848, allocations: 0 / 420.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.3851, allocations: 67.91 kB / 420.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/0.3861, allocations: 456.6 kB / 420.9 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.3861, allocations: 16 kB / 420.9 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/0.3935, allocations: 5.51 MB / 426.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3936, allocations: 4 kB / 426.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.3971, allocations: 1.925 MB / 428.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007379/0.3979, allocations: 276.3 kB / 428.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.3981, allocations: 16 kB / 428.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.3985, allocations: 43.95 kB / 428.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.3988, allocations: 76.53 kB / 428.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.3988, allocations: 16 kB / 428.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000871/0.3997, allocations: 0.5888 MB / 429.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3997, allocations: 0 / 429.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001344/0.401, allocations: 343.3 kB / 429.7 MB, free: 7.43 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.0002471/0.4013, allocations: 123.2 kB / 429.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.4036, allocations: 1.29 MB / 431.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4036, allocations: 0 / 431.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.4049, allocations: 0.8266 MB / 431.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.406, allocations: 276.7 kB / 432.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.4099, allocations: 2.341 MB / 434.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.411, allocations: 1.322 MB / 435.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.4114, allocations: 143.3 kB / 436 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4116, allocations: 55.42 kB / 436.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4116, allocations: 4 kB / 436.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Templates: time 0.03334/0.4449, allocations: 19.79 MB / 455.8 MB, free: 13.16 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