Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 201 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007383/0.0007383, allocations: 108 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000216/0.0002161, allocations: 8 kB / 360.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1987, allocations: 51.4 MB / 412.1 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003456/0.2022, allocations: 3.996 MB / 416.1 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2039, allocations: 1.525 MB / 417.6 MB, free: 20.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.2041, allocations: 19.88 kB / 417.6 MB, free: 20.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2044, allocations: 139.9 kB / 417.7 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.205, allocations: 318.1 kB / 418 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.2053, allocations: 171.8 kB / 418.2 MB, free: 19.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2064, allocations: 1.829 MB / 420 MB, free: 17.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.2072, allocations: 0.9335 MB / 421 MB, free: 16.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.2076, allocations: 0.5173 MB / 421.5 MB, free: 16.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.2082, allocations: 0.7195 MB / 422.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/0.2083, allocations: 72 kB / 422.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.2084, allocations: 72 kB / 422.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.2087, allocations: 358.7 kB / 422.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.2091, allocations: 0.6817 MB / 423.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.2101, allocations: 2.094 MB / 425.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2101, allocations: 0 / 425.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2102, allocations: 0 / 425.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2102, allocations: 0 / 425.5 MB, free: 12.36 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002003/0.2122, allocations: 1.546 MB / 427 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2122, allocations: 8.031 kB / 427 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/0.2128, allocations: 227 kB / 427.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.2139, allocations: 0.9578 MB / 428.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.2139, allocations: 82.44 kB / 428.3 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2141, allocations: 120 kB / 428.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.2162, allocations: 1.553 MB / 430 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.2163, allocations: 0 / 430 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-05/0.2164, allocations: 51.98 kB / 430 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.2164, allocations: 46.03 kB / 430.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.2185, allocations: 1.448 MB / 431.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/0.2237, allocations: 4.988 MB / 436.5 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.225, allocations: 1.462 MB / 438 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.2262, allocations: 0.7429 MB / 438.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.2263, allocations: 4.562 kB / 438.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000948/0.2272, allocations: 0.6279 MB / 439.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.2272, allocations: 0 / 439.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005586/0.2328, allocations: 2.478 MB / 441.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.2329, allocations: 89.75 kB / 441.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.2341, allocations: 0.9345 MB / 442.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.2342, allocations: 45.64 kB / 442.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.2346, allocations: 0.5347 MB / 443.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.2348, allocations: 224.8 kB / 443.6 MB, free: 9.648 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2348, allocations: 20 kB / 443.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.235, allocations: 334 kB / 444 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.2357, allocations: 421.7 kB / 444.4 MB, free: 8.887 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.2364, allocations: 0.5679 MB / 445 MB, free: 8.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.2378, allocations: 0.9699 MB / 445.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2378, allocations: 3.938 kB / 445.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002056/0.2399, allocations: 1.308 MB / 447.2 MB, free: 5.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2399, allocations: 8 kB / 447.2 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2399, allocations: 4 kB / 447.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/0.2408, allocations: 403.1 kB / 447.6 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.2414, allocations: 115.8 kB / 447.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/0.2464, allocations: 4.137 MB / 451.9 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.2469, allocations: 87.55 kB / 452 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.247, allocations: 24 kB / 452 MB, free: 1.016 MB / 314.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_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_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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006782/0.2477, allocations: 499.1 kB / 452.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.2478, allocations: 90.88 kB / 452.6 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.248, allocations: 120.6 kB / 452.7 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2481, allocations: 8 kB / 452.7 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2481, allocations: 3.938 kB / 452.7 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2481, allocations: 7.984 kB / 452.7 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.2521, allocations: 2.632 MB / 455.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2521, allocations: 3.984 kB / 455.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.2525, allocations: 92 kB / 455.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008189/0.2533, allocations: 383.4 kB / 455.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.2534, allocations: 19.98 kB / 455.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.2582, allocations: 4.094 MB / 459.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2582, allocations: 0 / 459.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.2611, allocations: 1.986 MB / 461.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.2616, allocations: 287.8 kB / 462.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.2617, allocations: 16 kB / 462.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.2622, allocations: 47.95 kB / 462.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.2624, allocations: 80.47 kB / 462.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.2625, allocations: 20 kB / 462.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009371/0.2634, allocations: 0.6668 MB / 463 MB, free: 5.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.2634, allocations: 0 / 463 MB, free: 5.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009404/0.2644, allocations: 354.8 kB / 463.4 MB, free: 5.398 MB / 330.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_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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001887/0.2646, allocations: 141.9 kB / 463.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.2668, allocations: 1.299 MB / 464.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2668, allocations: 4 kB / 464.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.268, allocations: 0.8188 MB / 465.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.2691, allocations: 231.1 kB / 465.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.274, allocations: 3.161 MB / 469 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.2751, allocations: 1.388 MB / 470.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004958/0.2756, allocations: 163.4 kB / 470.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2757, allocations: 63.42 kB / 470.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2758, allocations: 0 / 470.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of Templates: time 0.02683/0.3026, allocations: 16.97 MB / 487.6 MB, free: 13.27 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches