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.0007997/0.0007998, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0007969/0.000797, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.364/1.364, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002557, allocations: 13.97 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09351, allocations: 50.41 MB / 351.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005102/0.09865, allocations: 4.314 MB / 356.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.1019, allocations: 1.27 MB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.1028, allocations: 23.88 kB / 357.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.1036, allocations: 174.9 kB / 357.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1047, allocations: 322.3 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1052, allocations: 187.8 kB / 358.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.1073, allocations: 1.763 MB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1084, allocations: 0.8026 MB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.1092, allocations: 473.9 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/0.1102, allocations: 0.6494 MB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1103, allocations: 68 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1105, allocations: 64 kB / 361.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.1108, allocations: 314.9 kB / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.1114, allocations: 0.6273 MB / 362.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.1129, allocations: 1.923 MB / 364.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.113, allocations: 0 / 364.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.113, allocations: 0 / 364.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.113, allocations: 0 / 364.8 MB, free: 6.426 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.002529/0.1155, allocations: 1.413 MB / 366.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1156, allocations: 11.97 kB / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.1158, allocations: 139.2 kB / 366.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1171, allocations: 0.9151 MB / 367.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.1171, allocations: 74.38 kB / 367.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1173, allocations: 104.1 kB / 367.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.1197, allocations: 1.447 MB / 368.9 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.1198, allocations: 7.984 kB / 368.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.1199, allocations: 44 kB / 368.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.1199, allocations: 41.94 kB / 369 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.1221, allocations: 1.304 MB / 370.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1995/0.3217, allocations: 4.371 MB / 374.7 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3236, allocations: 1.97 MB / 376.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/0.3245, allocations: 0.624 MB / 377.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.3246, allocations: 9.5 kB / 377.3 MB, free: 20.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009737/0.3256, allocations: 0.5976 MB / 377.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.385e-06/0.3256, allocations: 0 / 377.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007749/0.3333, allocations: 2.778 MB / 380.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.3334, allocations: 117.1 kB / 380.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.3346, allocations: 0.8293 MB / 381.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.3347, allocations: 41.97 kB / 381.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.335, allocations: 482.2 kB / 382.1 MB, free: 18.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3352, allocations: 244.6 kB / 382.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.3353, allocations: 67.55 kB / 382.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3354, allocations: 391.3 kB / 382.8 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.3361, allocations: 404.2 kB / 383.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.3368, allocations: 0.5517 MB / 383.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3381, allocations: 0.9266 MB / 384.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3381, allocations: 5.031 kB / 384.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002101/0.3402, allocations: 1.319 MB / 386 MB, free: 16.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3402, allocations: 7.375 kB / 386 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3402, allocations: 3.812 kB / 386 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.3413, allocations: 484.5 kB / 386.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.3417, allocations: 92.33 kB / 386.5 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005963/0.3476, allocations: 5.145 MB / 391.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.3482, allocations: 95.64 kB / 391.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.3482, allocations: 32.05 kB / 391.8 MB, free: 12.92 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.0006126/0.3489, allocations: 459.6 kB / 392.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.349, allocations: 84.78 kB / 392.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3492, allocations: 112.2 kB / 392.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3492, allocations: 8.25 kB / 392.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3492, allocations: 0 / 392.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3493, allocations: 9.484 kB / 392.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.3528, allocations: 2.636 MB / 395.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3528, allocations: 0 / 395.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.3531, allocations: 65.19 kB / 395.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008666/0.354, allocations: 462 kB / 395.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.354, allocations: 13.91 kB / 395.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/0.359, allocations: 5.085 MB / 400.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.359, allocations: 3.938 kB / 400.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.3612, allocations: 1.933 MB / 402.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.3615, allocations: 275.9 kB / 402.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.3616, allocations: 16 kB / 402.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.362, allocations: 47.94 kB / 403 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.3622, allocations: 76.53 kB / 403.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3623, allocations: 24 kB / 403.1 MB, free: 3.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005972/0.3629, allocations: 0.5888 MB / 403.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3629, allocations: 0 / 403.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008642/0.3637, allocations: 339.1 kB / 404 MB, free: 2.82 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.0001752/0.3639, allocations: 135.1 kB / 404.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.3657, allocations: 1.297 MB / 405.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3657, allocations: 0 / 405.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.3667, allocations: 0.8263 MB / 406.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3678, allocations: 257 kB / 406.5 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.3717, allocations: 2.815 MB / 409.3 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009349/0.3727, allocations: 1.326 MB / 410.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.3731, allocations: 143.3 kB / 410.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3732, allocations: 55.42 kB / 410.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3732, allocations: 7.828 kB / 410.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of Templates: time 0.02883/0.4021, allocations: 18.23 MB / 429.1 MB, free: 9.906 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