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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 179.2 kB / 17.36 MB, free: 4.32 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.365/1.365, allocations: 205.6 MB / 223.7 MB, free: 8.961 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.0007317/0.0007316, allocations: 86.38 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000224/0.0002242, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2223, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003983/0.2264, allocations: 3.16 MB / 379.8 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2282, allocations: 0.9007 MB / 380.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.2287, allocations: 11.84 kB / 380.7 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.229, allocations: 57.31 kB / 380.7 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.2294, allocations: 126.6 kB / 380.9 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2298, allocations: 138.4 kB / 381 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.2303, allocations: 0.572 MB / 381.6 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.2306, allocations: 184.8 kB / 381.8 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.2308, allocations: 188.4 kB / 381.9 MB, free: 41.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.2311, allocations: 211.8 kB / 382.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.2311, allocations: 23.41 kB / 382.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.2312, allocations: 22.59 kB / 382.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.2313, allocations: 85.89 kB / 382.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.2315, allocations: 251.7 kB / 382.5 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.2319, allocations: 0.5698 MB / 383.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2319, allocations: 0 / 383.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.232, allocations: 1.375 kB / 383.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.232, allocations: 0 / 383.1 MB, free: 40.72 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001097/0.2331, allocations: 0.6854 MB / 383.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2331, allocations: 13.28 kB / 383.8 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.2332, allocations: 56.22 kB / 383.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.2336, allocations: 368.7 kB / 384.2 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.2337, allocations: 29.66 kB / 384.2 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.2337, allocations: 44.69 kB / 384.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.2344, allocations: 452.2 kB / 384.7 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2345, allocations: 1.062 kB / 384.7 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.2345, allocations: 21.66 kB / 384.7 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2345, allocations: 9.531 kB / 384.8 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.2351, allocations: 314.9 kB / 385.1 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.237, allocations: 1.847 MB / 386.9 MB, free: 37.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.2377, allocations: 0.621 MB / 387.5 MB, free: 37.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.2382, allocations: 280 kB / 387.8 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.2382, allocations: 4.328 kB / 387.8 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.2386, allocations: 261.2 kB / 388.1 MB, free: 36.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.2386, allocations: 4 kB / 388.1 MB, free: 36.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001954/0.2406, allocations: 0.8471 MB / 388.9 MB, free: 35.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.2406, allocations: 93.08 kB / 389 MB, free: 35.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.2409, allocations: 312.4 kB / 389.3 MB, free: 35.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2409, allocations: 37.7 kB / 389.3 MB, free: 35.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.241, allocations: 216.3 kB / 389.6 MB, free: 35.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.2411, allocations: 138.1 kB / 389.7 MB, free: 35.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.2411, allocations: 8 kB / 389.7 MB, free: 35.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.2412, allocations: 350.7 kB / 390 MB, free: 34.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2414, allocations: 121.1 kB / 390.2 MB, free: 34.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2417, allocations: 253 kB / 390.4 MB, free: 34.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.2421, allocations: 380.3 kB / 390.8 MB, free: 33.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2421, allocations: 4 kB / 390.8 MB, free: 33.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006659/0.2428, allocations: 0.5093 MB / 391.3 MB, free: 33.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2428, allocations: 10.8 kB / 391.3 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2428, allocations: 8 kB / 391.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/0.2432, allocations: 152.6 kB / 391.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.2434, allocations: 63.91 kB / 391.5 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.2454, allocations: 2.311 MB / 393.8 MB, free: 30.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2456, allocations: 47.53 kB / 393.9 MB, free: 30.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2457, allocations: 20 kB / 393.9 MB, free: 30.58 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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.2458, allocations: 174.7 kB / 394.1 MB, free: 30.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2459, allocations: 39.53 kB / 394.1 MB, free: 30.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.2459, allocations: 48.3 kB / 394.2 MB, free: 30.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2459, allocations: 4 kB / 394.2 MB, free: 30.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.246, allocations: 3.938 kB / 394.2 MB, free: 30.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.246, allocations: 3.984 kB / 394.2 MB, free: 30.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2471, allocations: 1.028 MB / 395.2 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2471, allocations: 0 / 395.2 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2472, allocations: 31.98 kB / 395.2 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.2476, allocations: 144.8 kB / 395.4 MB, free: 29.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.2476, allocations: 8 kB / 395.4 MB, free: 29.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.2494, allocations: 2.312 MB / 397.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2494, allocations: 0 / 397.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008088/0.2502, allocations: 0.7195 MB / 398.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.2503, allocations: 148.9 kB / 398.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.2504, allocations: 12 kB / 398.6 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2506, allocations: 19.92 kB / 398.6 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.2507, allocations: 35.94 kB / 398.6 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2507, allocations: 19.92 kB / 398.6 MB, free: 25.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2508, allocations: 223.1 kB / 398.9 MB, free: 25.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2509, allocations: 0 / 398.9 MB, free: 25.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.2513, allocations: 139.7 kB / 399 MB, free: 25.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.2514, allocations: 121.3 kB / 399.1 MB, free: 25.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007068/0.2521, allocations: 0.5451 MB / 399.7 MB, free: 24.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2522, allocations: 0 / 399.7 MB, free: 24.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.2525, allocations: 371.2 kB / 400 MB, free: 24.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.253, allocations: 72.98 kB / 400.1 MB, free: 24.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2541, allocations: 1.07 MB / 401.2 MB, free: 23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.2543, allocations: 0.824 MB / 402 MB, free: 22.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.2544, allocations: 39.3 kB / 402 MB, free: 22.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.2545, allocations: 31.44 kB / 402.1 MB, free: 22.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2545, allocations: 3.938 kB / 402.1 MB, free: 22.08 MB / 298.7 MB Notification: Performance of Templates: time 0.008371/0.2629, allocations: 6.313 MB / 408.4 MB, free: 15.8 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches