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.001042/0.001042, allocations: 97.48 kB / 16.5 MB, free: 6.641 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.001215/0.001215, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 50.64 kB / 300 MB, free: 6.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.102, allocations: 49.45 MB / 349.4 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005627/0.1077, allocations: 4.728 MB / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1101, allocations: 1.278 MB / 355.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000547/0.1106, allocations: 31.81 kB / 355.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.1114, allocations: 171 kB / 355.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009118/0.1123, allocations: 330.3 kB / 355.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.1128, allocations: 179.8 kB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.1144, allocations: 1.763 MB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/0.1154, allocations: 0.8065 MB / 358.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/0.1161, allocations: 0.5292 MB / 359.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000846/0.1169, allocations: 0.7236 MB / 359.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.1171, allocations: 92 kB / 360 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1173, allocations: 92 kB / 360.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.1176, allocations: 358.8 kB / 360.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.1182, allocations: 0.6452 MB / 361.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1196, allocations: 1.99 MB / 363.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1196, allocations: 0 / 363.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1196, allocations: 0 / 363.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.1197, allocations: 4 kB / 363.1 MB, free: 7.031 MB / 302.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.002689/0.1223, allocations: 1.638 MB / 364.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1224, allocations: 8.031 kB / 364.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.1226, allocations: 139.3 kB / 364.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1238, allocations: 0.9112 MB / 365.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.1239, allocations: 74.38 kB / 365.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.124, allocations: 108.1 kB / 366 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.1262, allocations: 1.443 MB / 367.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1262, allocations: 7.844 kB / 367.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/0.1263, allocations: 40 kB / 367.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.1264, allocations: 41.98 kB / 367.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1284, allocations: 1.288 MB / 368.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1576/0.286, allocations: 4.336 MB / 373.1 MB, free: 23.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.2878, allocations: 1.966 MB / 375.1 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.2887, allocations: 0.6148 MB / 375.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.2888, allocations: 8.484 kB / 375.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008864/0.2896, allocations: 0.6037 MB / 376.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.955e-06/0.2897, allocations: 0 / 376.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007213/0.2969, allocations: 2.733 MB / 379.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.297, allocations: 112.8 kB / 379.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.2983, allocations: 0.8291 MB / 380 MB, free: 20.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.2983, allocations: 41.64 kB / 380 MB, free: 20.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.2988, allocations: 485.1 kB / 380.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.2989, allocations: 241.2 kB / 380.8 MB, free: 19.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.2992, allocations: 137.5 kB / 380.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2993, allocations: 398.4 kB / 381.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.2999, allocations: 392.1 kB / 381.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.3005, allocations: 0.5433 MB / 382.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.3017, allocations: 0.9133 MB / 383.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3017, allocations: 1.156 kB / 383.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001862/0.3036, allocations: 1.316 MB / 384.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3036, allocations: 6.625 kB / 384.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3037, allocations: 3.344 kB / 384.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/0.3047, allocations: 480.4 kB / 384.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.305, allocations: 90.45 kB / 385 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/0.3107, allocations: 5.138 MB / 390.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.3113, allocations: 90.69 kB / 390.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.3114, allocations: 26.78 kB / 390.3 MB, free: 13.91 MB / 302.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.0005935/0.312, allocations: 462.3 kB / 390.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3121, allocations: 86.34 kB / 390.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.3123, allocations: 116.1 kB / 390.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3123, allocations: 7.906 kB / 390.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.3123, allocations: 0 / 390.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3123, allocations: 7.922 kB / 390.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.3157, allocations: 2.602 MB / 393.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3157, allocations: 1.156 kB / 393.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.316, allocations: 62.94 kB / 393.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008915/0.3169, allocations: 470.5 kB / 394 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.3169, allocations: 16.45 kB / 394.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005315/0.3223, allocations: 5.057 MB / 399.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3223, allocations: 7.75 kB / 399.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.3245, allocations: 1.915 MB / 401 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.3248, allocations: 271.8 kB / 401.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3249, allocations: 16 kB / 401.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.3253, allocations: 39.95 kB / 401.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.3255, allocations: 72.55 kB / 401.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.3255, allocations: 27.98 kB / 401.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006102/0.3261, allocations: 0.5887 MB / 402 MB, free: 4.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3262, allocations: 4 kB / 402 MB, free: 4.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008796/0.327, allocations: 339.1 kB / 402.4 MB, free: 4.125 MB / 302.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.0001576/0.3272, allocations: 135.2 kB / 402.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3289, allocations: 1.278 MB / 403.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3289, allocations: 0 / 403.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.3298, allocations: 0.8176 MB / 404.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.3308, allocations: 256.2 kB / 404.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.3348, allocations: 2.791 MB / 407.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009511/0.3358, allocations: 1.326 MB / 409 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.3361, allocations: 143.3 kB / 409.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3363, allocations: 47.44 kB / 409.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3363, allocations: 0 / 409.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of Templates: time 0.02748/0.3638, allocations: 18.56 MB / 427.7 MB, free: 10.96 MB / 334.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