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.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001856/0.001856, allocations: 179.2 kB / 17.36 MB, free: 4.316 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.411/1.411, allocations: 205.6 MB / 223.7 MB, free: 8.973 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.0007705/0.0007708, allocations: 82.44 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.000256, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2055, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.0034/0.209, allocations: 3.126 MB / 379.7 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.2109, allocations: 1.076 MB / 380.8 MB, free: 42.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.2114, allocations: 15.28 kB / 380.8 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.2117, allocations: 83.23 kB / 380.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007836/0.2125, allocations: 211.3 kB / 381.1 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.2128, allocations: 126 kB / 381.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.2137, allocations: 1.068 MB / 382.3 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.2142, allocations: 484.3 kB / 382.8 MB, free: 41.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.2146, allocations: 307.4 kB / 383.1 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.215, allocations: 424.9 kB / 383.5 MB, free: 40.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.2151, allocations: 46.41 kB / 383.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2152, allocations: 42.53 kB / 383.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.2154, allocations: 205.8 kB / 383.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.2157, allocations: 423.4 kB / 384.2 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008018/0.2165, allocations: 1.176 MB / 385.4 MB, free: 39.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2165, allocations: 4.906 kB / 385.4 MB, free: 39.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2166, allocations: 0 / 385.4 MB, free: 39.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2166, allocations: 0 / 385.4 MB, free: 39.33 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001519/0.2181, allocations: 1.018 MB / 386.4 MB, free: 38.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2181, allocations: 9.344 kB / 386.4 MB, free: 38.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.2183, allocations: 88.62 kB / 386.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.2189, allocations: 0.5921 MB / 387.1 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.219, allocations: 49.25 kB / 387.1 MB, free: 37.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.2191, allocations: 67.98 kB / 387.2 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2202, allocations: 0.915 MB / 388.1 MB, free: 36.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2202, allocations: 7.906 kB / 388.1 MB, free: 36.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.2203, allocations: 24 kB / 388.2 MB, free: 36.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.2203, allocations: 33.3 kB / 388.2 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2214, allocations: 0.7936 MB / 389 MB, free: 35.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.2243, allocations: 2.807 MB / 391.8 MB, free: 33.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.225, allocations: 0.7579 MB / 392.5 MB, free: 32.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.2255, allocations: 353.3 kB / 392.9 MB, free: 31.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.2255, allocations: 4.328 kB / 392.9 MB, free: 31.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.226, allocations: 397.5 kB / 393.3 MB, free: 31.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.226, allocations: 0 / 393.3 MB, free: 31.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002163/0.2282, allocations: 1.201 MB / 394.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2282, allocations: 110.8 kB / 394.6 MB, free: 30.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.2287, allocations: 0.5683 MB / 395.2 MB, free: 29.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2288, allocations: 33.7 kB / 395.2 MB, free: 29.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.2289, allocations: 355.9 kB / 395.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.229, allocations: 142 kB / 395.7 MB, free: 29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.2291, allocations: 4 kB / 395.7 MB, free: 28.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.2291, allocations: 366.8 kB / 396 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.2294, allocations: 225 kB / 396.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.2298, allocations: 357.8 kB / 396.6 MB, free: 28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.2304, allocations: 0.5753 MB / 397.2 MB, free: 27.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2304, allocations: 7.938 kB / 397.2 MB, free: 27.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009489/0.2314, allocations: 0.7586 MB / 398 MB, free: 26.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2314, allocations: 8 kB / 398 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2314, allocations: 4.469 kB / 398 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.2318, allocations: 200.7 kB / 398.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.2321, allocations: 75.89 kB / 398.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.2343, allocations: 2.689 MB / 400.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2347, allocations: 55.58 kB / 401 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2347, allocations: 19.98 kB / 401 MB, free: 23.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003351/0.235, allocations: 325.5 kB / 401.3 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.2351, allocations: 55.34 kB / 401.4 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.2352, allocations: 73.28 kB / 401.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2352, allocations: 7.984 kB / 401.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2352, allocations: 0 / 401.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2352, allocations: 0 / 401.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.237, allocations: 1.635 MB / 403.1 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.237, allocations: 0 / 403.1 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2372, allocations: 47.91 kB / 403.1 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.2376, allocations: 200.7 kB / 403.3 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.2376, allocations: 8 kB / 403.3 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.2397, allocations: 2.651 MB / 406 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2397, allocations: 8 kB / 406 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.241, allocations: 1.107 MB / 407.1 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.2412, allocations: 200.2 kB / 407.3 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.2413, allocations: 8 kB / 407.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.2415, allocations: 27.97 kB / 407.3 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2416, allocations: 43.94 kB / 407.4 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.2417, allocations: 19.98 kB / 407.4 MB, free: 16.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003596/0.242, allocations: 410.8 kB / 407.8 MB, free: 16.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2421, allocations: 0 / 407.8 MB, free: 16.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.2427, allocations: 207.3 kB / 408 MB, free: 16.15 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.2429, allocations: 115.9 kB / 408.1 MB, free: 16.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.2439, allocations: 0.7401 MB / 408.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2439, allocations: 3.984 kB / 408.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.2445, allocations: 482.9 kB / 409.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.2452, allocations: 138.5 kB / 409.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.2474, allocations: 1.832 MB / 411.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.2479, allocations: 1.062 MB / 412.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.2481, allocations: 96.72 kB / 412.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.2482, allocations: 39.44 kB / 412.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2482, allocations: 4 kB / 412.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of Templates: time 0.01242/0.2606, allocations: 9.289 MB / 421.8 MB, free: 2.348 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches