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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 113.1 kB / 17.73 MB, free: 5.336 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.001715/0.001715, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.309/1.309, 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.001245/0.001245, allocations: 59.91 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08975, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006216/0.09601, allocations: 4.671 MB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1854/0.2815, allocations: 1.334 MB / 380.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.282, allocations: 23.22 kB / 380.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006935/0.2828, allocations: 221.8 kB / 380.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008962/0.2837, allocations: 356.9 kB / 381.3 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.2842, allocations: 217.1 kB / 381.5 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.286, allocations: 1.541 MB / 383 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.2872, allocations: 0.9142 MB / 383.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.2883, allocations: 0.6382 MB / 384.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.2895, allocations: 0.7527 MB / 385.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.2898, allocations: 167 kB / 385.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.2901, allocations: 166.7 kB / 385.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.2905, allocations: 441 kB / 386.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008449/0.2914, allocations: 0.7276 MB / 386.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.2938, allocations: 2.078 MB / 388.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2939, allocations: 1.094 kB / 388.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2939, allocations: 0 / 388.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.871e-05/0.2939, allocations: 0 / 388.9 MB, free: 6.387 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.003557/0.2975, allocations: 1.664 MB / 390.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2975, allocations: 18.27 kB / 390.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.2978, allocations: 154.2 kB / 390.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.2981, allocations: 145.2 kB / 390.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.2996, allocations: 0.8838 MB / 391.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.2997, allocations: 74.22 kB / 391.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.2999, allocations: 100.4 kB / 391.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.303, allocations: 1.428 MB / 393.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.3031, allocations: 1.219 kB / 393.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.3032, allocations: 42.7 kB / 393.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.642e-05/0.3033, allocations: 44.48 kB / 393.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.3058, allocations: 1.287 MB / 394.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006247/0.3121, allocations: 4.283 MB / 399 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.3138, allocations: 1.972 MB / 401 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3152, allocations: 0.7402 MB / 401.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.3152, allocations: 7.75 kB / 401.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009758/0.3162, allocations: 0.5921 MB / 402.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.926e-06/0.3162, allocations: 0 / 402.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007535/0.3238, allocations: 2.833 MB / 405.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.3239, allocations: 120.1 kB / 405.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.3253, allocations: 0.8175 MB / 406.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/0.3254, allocations: 41.64 kB / 406.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.3258, allocations: 0.4957 MB / 406.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.3261, allocations: 247.2 kB / 406.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.3263, allocations: 137.8 kB / 407 MB, free: 11.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3265, allocations: 393.2 kB / 407.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.3271, allocations: 398.9 kB / 407.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.328, allocations: 0.5441 MB / 408.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.3294, allocations: 0.9172 MB / 409.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3294, allocations: 0.9375 kB / 409.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002459/0.3319, allocations: 1.312 MB / 410.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.3319, allocations: 11.33 kB / 410.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.332, allocations: 7.781 kB / 410.6 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3331, allocations: 471.4 kB / 411 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.3335, allocations: 98.47 kB / 411.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007252/0.3407, allocations: 5.573 MB / 416.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008251/0.3416, allocations: 87.58 kB / 416.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.3416, allocations: 28 kB / 416.8 MB, free: 4.004 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.00079/0.3424, allocations: 463.2 kB / 417.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.3426, allocations: 87.44 kB / 417.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.3428, allocations: 112.6 kB / 417.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3428, allocations: 11.94 kB / 417.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3428, allocations: 0 / 417.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3428, allocations: 3.984 kB / 417.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.3469, allocations: 2.601 MB / 420.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3469, allocations: 7.984 kB / 420.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3472, allocations: 55.91 kB / 420.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009644/0.3482, allocations: 464.7 kB / 420.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.3483, allocations: 15.98 kB / 420.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006731/0.355, allocations: 5.502 MB / 426.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3551, allocations: 3.984 kB / 426.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.3581, allocations: 1.913 MB / 428 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.3587, allocations: 284.3 kB / 428.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3588, allocations: 16 kB / 428.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.3592, allocations: 43.95 kB / 428.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.3594, allocations: 68.64 kB / 428.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.3595, allocations: 31.97 kB / 428.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007622/0.3602, allocations: 0.5849 MB / 429 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3602, allocations: 4 kB / 429 MB, free: 7.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3613, allocations: 339.3 kB / 429.4 MB, free: 7.203 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.002881/0.3642, allocations: 2.494 MB / 431.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.3664, allocations: 1.286 MB / 433.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3664, allocations: 0 / 433.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3677, allocations: 0.8327 MB / 434 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.3691, allocations: 278.4 kB / 434.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.3834, allocations: 9.79 MB / 444 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.3844, allocations: 1.325 MB / 445.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.3849, allocations: 143.3 kB / 445.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.3854, allocations: 379.2 kB / 445.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3854, allocations: 0 / 445.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05851/0.4439, allocations: 29.12 MB / 475 MB, free: 9.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.97, allocations: 12.06 kB / 475 MB, free: 9.152 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > 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.csv","/var/lib/jenkins1/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/jenkins1/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