Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000955/0.000955, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008853/0.0008852, allocations: 92.72 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002439/0.000244, allocations: 4 kB / 360.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.002948/0.2036, allocations: 3.197 MB / 415.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.205, allocations: 1.311 MB / 416.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2052, allocations: 11.94 kB / 416.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.2054, allocations: 87.39 kB / 416.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.2059, allocations: 205.2 kB / 416.9 MB, free: 21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.2062, allocations: 123.8 kB / 417 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.2068, allocations: 1.078 MB / 418.1 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.2074, allocations: 0.5173 MB / 418.6 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.2077, allocations: 314.6 kB / 418.9 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.2081, allocations: 422.1 kB / 419.3 MB, free: 18.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.2082, allocations: 40 kB / 419.4 MB, free: 18.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2083, allocations: 48 kB / 419.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2084, allocations: 215.2 kB / 419.6 MB, free: 18.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.2087, allocations: 423.5 kB / 420 MB, free: 17.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.2094, allocations: 1.204 MB / 421.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2095, allocations: 0 / 421.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2095, allocations: 4 kB / 421.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2095, allocations: 0 / 421.2 MB, free: 16.61 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001403/0.2109, allocations: 1.026 MB / 422.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2109, allocations: 15.97 kB / 422.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.2113, allocations: 119.9 kB / 422.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.212, allocations: 0.6235 MB / 423 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.212, allocations: 49.25 kB / 423.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.2121, allocations: 72 kB / 423.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.2133, allocations: 0.9189 MB / 424.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2133, allocations: 0 / 424.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-05/0.2134, allocations: 31.94 kB / 424.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.2134, allocations: 33.3 kB / 424.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2145, allocations: 0.7975 MB / 424.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.2174, allocations: 2.842 MB / 427.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.2181, allocations: 0.7526 MB / 428.5 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.2185, allocations: 356 kB / 428.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2186, allocations: 4.328 kB / 428.9 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004707/0.2191, allocations: 389.8 kB / 429.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.2191, allocations: 0 / 429.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002273/0.2213, allocations: 1.245 MB / 430.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2214, allocations: 114.8 kB / 430.6 MB, free: 6.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.2219, allocations: 0.5722 MB / 431.2 MB, free: 6.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2219, allocations: 37.64 kB / 431.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2221, allocations: 363.9 kB / 431.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.2222, allocations: 138 kB / 431.7 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.2222, allocations: 12 kB / 431.7 MB, free: 5.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.2223, allocations: 366.8 kB / 432.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.2226, allocations: 225 kB / 432.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.2229, allocations: 365.7 kB / 432.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.2236, allocations: 0.5778 MB / 433.2 MB, free: 4.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2236, allocations: 4 kB / 433.2 MB, free: 4.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000958/0.2246, allocations: 0.7551 MB / 434 MB, free: 3.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2246, allocations: 4 kB / 434 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2246, allocations: 4 kB / 434 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.225, allocations: 213 kB / 434.2 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.2253, allocations: 79.83 kB / 434.3 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.2277, allocations: 2.764 MB / 437 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.228, allocations: 59.58 kB / 437.1 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.228, allocations: 20 kB / 437.1 MB, free: 60 kB / 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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 (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.2284, allocations: 321.6 kB / 437.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.2285, allocations: 63.27 kB / 437.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.2286, allocations: 65.41 kB / 437.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2286, allocations: 12 kB / 437.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2286, allocations: 0 / 437.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.2286, allocations: 7.984 kB / 437.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.231, allocations: 1.768 MB / 439.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.231, allocations: 0 / 439.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.2312, allocations: 47.94 kB / 439.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.2316, allocations: 200.8 kB / 439.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.2317, allocations: 8 kB / 439.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.2344, allocations: 2.644 MB / 442.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2344, allocations: 4 kB / 442.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.2362, allocations: 1.156 MB / 443.4 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.2364, allocations: 192.4 kB / 443.6 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.2365, allocations: 12 kB / 443.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.2368, allocations: 31.97 kB / 443.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.2369, allocations: 47.81 kB / 443.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.237, allocations: 15.98 kB / 443.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004773/0.2374, allocations: 414.8 kB / 444.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2374, allocations: 0 / 444.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.2381, allocations: 211.2 kB / 444.3 MB, free: 8.613 MB / 314.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001576/0.2382, allocations: 131.2 kB / 444.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2395, allocations: 0.7404 MB / 445.2 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2395, allocations: 0 / 445.2 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.2401, allocations: 483.3 kB / 445.6 MB, free: 7.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.2408, allocations: 137.9 kB / 445.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2434, allocations: 1.881 MB / 447.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.2441, allocations: 1.082 MB / 448.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.2444, allocations: 96.78 kB / 448.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.2445, allocations: 39.38 kB / 448.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2445, allocations: 0 / 448.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of Templates: time 0.01512/0.2596, allocations: 9.384 MB / 458.3 MB, free: 10.66 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches