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.001095/0.001095, allocations: 107.1 kB / 17.58 MB, free: 5.531 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.001009/0.001009, allocations: 191.9 kB / 18.51 MB, free: 4.613 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.234/1.234, allocations: 205.1 MB / 224.4 MB, free: 12.33 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.001149/0.001149, allocations: 51.92 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07715/0.07831, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005805/0.08414, allocations: 4.675 MB / 332.1 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.08682, allocations: 1.329 MB / 333.4 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.08726, allocations: 23.88 kB / 333.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007326/0.08805, allocations: 218.4 kB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.08883, allocations: 354 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.0892, allocations: 223.6 kB / 334.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.09054, allocations: 1.526 MB / 335.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.09156, allocations: 0.91 MB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005811/0.09216, allocations: 0.6269 MB / 337.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.09295, allocations: 0.7588 MB / 338 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.09315, allocations: 171.9 kB / 338.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.0934, allocations: 164 kB / 338.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.09374, allocations: 430.8 kB / 338.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.0944, allocations: 0.7233 MB / 339.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.09601, allocations: 2.056 MB / 341.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.09603, allocations: 0 / 341.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09604, allocations: 0 / 341.6 MB, free: 6.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.09607, allocations: 0 / 341.6 MB, free: 6.121 MB / 286.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.002908/0.09898, allocations: 1.623 MB / 343.2 MB, free: 4.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.09903, allocations: 15.89 kB / 343.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.09922, allocations: 152.3 kB / 343.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.09944, allocations: 143.2 kB / 343.5 MB, free: 4.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.1006, allocations: 0.8645 MB / 344.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.1007, allocations: 74.38 kB / 344.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1008, allocations: 103.9 kB / 344.5 MB, free: 3.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.1029, allocations: 1.427 MB / 345.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.103, allocations: 4 kB / 345.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.632e-05/0.1031, allocations: 44 kB / 346 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.1031, allocations: 41.98 kB / 346 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.1051, allocations: 1.284 MB / 347.3 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00594/0.111, allocations: 4.324 MB / 351.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.1128, allocations: 1.967 MB / 353.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.1137, allocations: 0.622 MB / 354.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.1138, allocations: 8.656 kB / 354.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008647/0.1146, allocations: 0.6014 MB / 354.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.475e-06/0.1146, allocations: 0 / 354.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006839/0.1215, allocations: 2.836 MB / 357.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1216, allocations: 119.5 kB / 357.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.1225, allocations: 0.8207 MB / 358.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.1226, allocations: 37.7 kB / 358.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.1229, allocations: 495.7 kB / 359.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.1231, allocations: 248.5 kB / 359.4 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1233, allocations: 134.6 kB / 359.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1235, allocations: 390.8 kB / 359.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.1241, allocations: 393.7 kB / 360.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/0.1248, allocations: 0.5494 MB / 360.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.1261, allocations: 0.9192 MB / 361.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1261, allocations: 3.938 kB / 361.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001917/0.128, allocations: 1.315 MB / 363.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.128, allocations: 7.984 kB / 363.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.128, allocations: 4 kB / 363.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.129, allocations: 472.4 kB / 363.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1294, allocations: 99.81 kB / 363.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/0.1361, allocations: 5.566 MB / 369.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.1366, allocations: 83.39 kB / 369.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.1366, allocations: 31.98 kB / 369.3 MB, free: 9.508 MB / 318.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.0005452/0.1372, allocations: 463.2 kB / 369.8 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1373, allocations: 90.95 kB / 369.9 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1375, allocations: 104.6 kB / 370 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1375, allocations: 8 kB / 370 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1375, allocations: 0 / 370 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1375, allocations: 3.984 kB / 370 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.1411, allocations: 2.615 MB / 372.6 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1412, allocations: 4 kB / 372.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.1415, allocations: 59.89 kB / 372.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009157/0.1424, allocations: 464.3 kB / 373.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.1424, allocations: 16 kB / 373.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.136/0.2784, allocations: 5.547 MB / 378.7 MB, free: 52.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2785, allocations: 3.75 kB / 378.7 MB, free: 52.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.2816, allocations: 1.917 MB / 380.6 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.2821, allocations: 275.1 kB / 380.8 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.2823, allocations: 14.56 kB / 380.9 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.2828, allocations: 44.28 kB / 380.9 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.2831, allocations: 72 kB / 381 MB, free: 52.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.2832, allocations: 19.31 kB / 381 MB, free: 52.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008813/0.284, allocations: 0.5932 MB / 381.6 MB, free: 52.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.284, allocations: 1.219 kB / 381.6 MB, free: 52.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001013/0.2851, allocations: 338.3 kB / 381.9 MB, free: 52.59 MB / 318.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.0028/0.2879, allocations: 2.486 MB / 384.4 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.2903, allocations: 1.429 MB / 385.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2903, allocations: 0 / 385.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.2914, allocations: 0.8303 MB / 386.7 MB, free: 50.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.2925, allocations: 275 kB / 386.9 MB, free: 50.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.3042, allocations: 10.24 MB / 397.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.3048, allocations: 1.327 MB / 398.5 MB, free: 44.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.3052, allocations: 137.8 kB / 398.6 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.3056, allocations: 375.7 kB / 399 MB, free: 44.21 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3056, allocations: 0 / 399 MB, free: 44.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/0.3562, allocations: 28.65 MB / 427.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.15, allocations: 8.312 kB / 427.7 MB, free: 15.75 MB / 318.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