Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009385/0.0009387, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 90.48 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002605, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004467/0.2333, allocations: 4.065 MB / 380.7 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.2364, allocations: 1.435 MB / 382.1 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.2367, allocations: 25.06 kB / 382.1 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.2372, allocations: 181.4 kB / 382.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.2378, allocations: 323.8 kB / 382.6 MB, free: 40.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.2381, allocations: 191.6 kB / 382.8 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.2396, allocations: 1.771 MB / 384.6 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008272/0.2404, allocations: 0.7435 MB / 385.3 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.241, allocations: 490.7 kB / 385.8 MB, free: 38.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.2417, allocations: 0.638 MB / 386.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.2418, allocations: 68.78 kB / 386.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.242, allocations: 64 kB / 386.6 MB, free: 38.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.2422, allocations: 318.9 kB / 386.9 MB, free: 38.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.2426, allocations: 0.6273 MB / 387.5 MB, free: 37.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2437, allocations: 1.927 MB / 389.5 MB, free: 35.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2437, allocations: 0 / 389.5 MB, free: 35.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2437, allocations: 0 / 389.5 MB, free: 35.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.2438, allocations: 0 / 389.5 MB, free: 35.58 MB / 298.7 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.001998/0.2458, allocations: 1.409 MB / 390.9 MB, free: 34.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2458, allocations: 12.03 kB / 390.9 MB, free: 34.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.246, allocations: 135.3 kB / 391 MB, free: 33.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/0.2469, allocations: 0.8606 MB / 391.9 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.247, allocations: 82.34 kB / 391.9 MB, free: 32.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.2471, allocations: 104 kB / 392 MB, free: 32.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.249, allocations: 1.423 MB / 393.5 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.249, allocations: 0 / 393.5 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.2491, allocations: 47.98 kB / 393.5 MB, free: 31.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.2491, allocations: 41.94 kB / 393.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.2508, allocations: 1.292 MB / 394.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.2554, allocations: 4.359 MB / 399.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2568, allocations: 1.973 MB / 401.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.2575, allocations: 0.6337 MB / 401.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.2576, allocations: 8.656 kB / 401.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007161/0.2583, allocations: 0.5976 MB / 402.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 2.846e-06/0.2583, allocations: 0 / 402.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.006266/0.2646, allocations: 2.867 MB / 405.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.2647, allocations: 115.5 kB / 405.4 MB, free: 19.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2657, allocations: 0.8207 MB / 406.2 MB, free: 18.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.2658, allocations: 41.7 kB / 406.3 MB, free: 18.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.2661, allocations: 483.8 kB / 406.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.2663, allocations: 240.5 kB / 407 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.2663, allocations: 12 kB / 407 MB, free: 17.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2664, allocations: 398.7 kB / 407.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.2669, allocations: 397.7 kB / 407.8 MB, free: 16.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.2675, allocations: 0.5571 MB / 408.3 MB, free: 16.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2685, allocations: 0.9114 MB / 409.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2685, allocations: 8 kB / 409.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001667/0.2702, allocations: 1.303 MB / 410.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2702, allocations: 8 kB / 410.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2703, allocations: 7.984 kB / 410.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009486/0.2712, allocations: 468.2 kB / 411 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2716, allocations: 99.88 kB / 411.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005248/0.2768, allocations: 5.127 MB / 416.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.2774, allocations: 95.44 kB / 416.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.2775, allocations: 28 kB / 416.4 MB, free: 7.848 MB / 298.7 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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) * 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.0006648/0.2782, allocations: 463.1 kB / 416.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2783, allocations: 82.97 kB / 416.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.2784, allocations: 112.5 kB / 417 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.2785, allocations: 12 kB / 417 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2785, allocations: 3.938 kB / 417 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2785, allocations: 3.984 kB / 417 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.2816, allocations: 2.631 MB / 419.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2816, allocations: 0 / 419.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.2818, allocations: 63.95 kB / 419.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007875/0.2826, allocations: 468.3 kB / 420.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.2827, allocations: 20 kB / 420.2 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005093/0.2878, allocations: 5.087 MB / 425.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2878, allocations: 0 / 425.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.2905, allocations: 1.923 MB / 427.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.2909, allocations: 275.8 kB / 427.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.291, allocations: 23.94 kB / 427.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2914, allocations: 39.95 kB / 427.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.2916, allocations: 80.53 kB / 427.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.2917, allocations: 16 kB / 427.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007252/0.2924, allocations: 0.5849 MB / 428.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2924, allocations: 0 / 428.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009106/0.2933, allocations: 343 kB / 428.5 MB, free: 11.4 MB / 314.7 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.0002024/0.2935, allocations: 135 kB / 428.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.2955, allocations: 1.286 MB / 430 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2956, allocations: 0 / 430 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.2968, allocations: 0.8289 MB / 430.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2979, allocations: 262.7 kB / 431 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.3019, allocations: 2.811 MB / 433.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.3028, allocations: 1.326 MB / 435.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.3032, allocations: 143.3 kB / 435.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3034, allocations: 55.42 kB / 435.4 MB, free: 4.473 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3034, allocations: 0 / 435.4 MB, free: 4.473 MB / 314.7 MB Notification: Performance of Templates: time 0.02688/0.3302, allocations: 18.24 MB / 453.6 MB, free: 2.34 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../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