Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001512/0.001512, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001757/0.001757, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 47.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2692, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005543/0.2748, allocations: 4.73 MB / 405.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2771, allocations: 1.277 MB / 406.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.2774, allocations: 31.81 kB / 406.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.278, allocations: 230.4 kB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007412/0.2788, allocations: 358 kB / 407.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.2792, allocations: 207.7 kB / 407.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2806, allocations: 1.545 MB / 409.1 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2816, allocations: 0.9586 MB / 410.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.2823, allocations: 0.6424 MB / 410.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.2831, allocations: 0.7627 MB / 411.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.2833, allocations: 164 kB / 411.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.2836, allocations: 164 kB / 411.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.2839, allocations: 430.8 kB / 412.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006927/0.2846, allocations: 0.7389 MB / 412.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.2863, allocations: 2.079 MB / 415 MB, free: 10.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2864, allocations: 4 kB / 415 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2864, allocations: 0 / 415 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.2864, allocations: 0 / 415 MB, free: 10.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002799/0.2892, allocations: 1.638 MB / 416.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2893, allocations: 8.031 kB / 416.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.2895, allocations: 143.2 kB / 416.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.2908, allocations: 0.9345 MB / 417.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.2908, allocations: 78.36 kB / 417.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.291, allocations: 104.1 kB / 417.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.2933, allocations: 1.439 MB / 419.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.2933, allocations: 3.938 kB / 419.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2934, allocations: 39.98 kB / 419.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.2935, allocations: 49.98 kB / 419.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.2955, allocations: 1.296 MB / 420.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.3013, allocations: 4.285 MB / 425 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.3033, allocations: 1.966 MB / 427 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.3045, allocations: 0.743 MB / 427.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.3045, allocations: 8.656 kB / 427.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/0.3054, allocations: 0.5975 MB / 428.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.345e-06/0.3055, allocations: 0 / 428.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007168/0.3126, allocations: 2.82 MB / 431.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.3127, allocations: 115.5 kB / 431.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3139, allocations: 0.8169 MB / 432.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.314, allocations: 37.7 kB / 432.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.3145, allocations: 495.7 kB / 432.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.3147, allocations: 244.5 kB / 432.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.3149, allocations: 142.6 kB / 433 MB, free: 7.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3151, allocations: 386.8 kB / 433.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.3157, allocations: 397.7 kB / 433.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.3165, allocations: 0.5454 MB / 434.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3178, allocations: 0.9114 MB / 435.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3178, allocations: 11.88 kB / 435.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002116/0.3199, allocations: 1.303 MB / 436.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3199, allocations: 8 kB / 436.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.32, allocations: 4 kB / 436.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.321, allocations: 468.4 kB / 437 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.3214, allocations: 95.83 kB / 437.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.3284, allocations: 5.578 MB / 442.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.329, allocations: 79.45 kB / 442.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.3291, allocations: 28.06 kB / 442.8 MB, free: 13.89 MB / 366.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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.0006288/0.3297, allocations: 467.2 kB / 443.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3299, allocations: 90.95 kB / 443.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3301, allocations: 112.6 kB / 443.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3301, allocations: 8 kB / 443.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3301, allocations: 0 / 443.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3301, allocations: 7.984 kB / 443.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.3339, allocations: 2.583 MB / 446 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3339, allocations: 3.984 kB / 446 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3342, allocations: 59.91 kB / 446.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009702/0.3352, allocations: 456.4 kB / 446.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.3353, allocations: 19.98 kB / 446.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006691/0.342, allocations: 5.506 MB / 452.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.342, allocations: 0 / 452.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.3447, allocations: 1.917 MB / 454 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.3451, allocations: 267.9 kB / 454.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3452, allocations: 12 kB / 454.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3456, allocations: 43.95 kB / 454.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.3458, allocations: 68.55 kB / 454.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.3459, allocations: 27.98 kB / 454.4 MB, free: 2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007027/0.3466, allocations: 0.5926 MB / 455 MB, free: 1.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3466, allocations: 0 / 455 MB, free: 1.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008749/0.3475, allocations: 343.1 kB / 455.3 MB, free: 1.074 MB / 366.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001564/0.3476, allocations: 134.9 kB / 455.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.3495, allocations: 1.279 MB / 456.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3496, allocations: 0 / 456.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3507, allocations: 0.8203 MB / 457.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3518, allocations: 280.2 kB / 457.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.3553, allocations: 2.311 MB / 460.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008521/0.3562, allocations: 1.325 MB / 461.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003418/0.3566, allocations: 139.3 kB / 461.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3567, allocations: 59.42 kB / 461.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3567, allocations: 0 / 461.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.03023/0.387, allocations: 19.8 MB / 481.5 MB, free: 7.102 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches