Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 194 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 226.6 MB / 244.7 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007427/0.0007426, allocations: 106.9 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002343, allocations: 4 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 51.3 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.003201/0.1983, allocations: 3.983 MB / 412 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2001, allocations: 1.201 MB / 413.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.2004, allocations: 19.94 kB / 413.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.2006, allocations: 123.1 kB / 413.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006621/0.2013, allocations: 315.5 kB / 413.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.2016, allocations: 123.8 kB / 413.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009797/0.2026, allocations: 1.673 MB / 415.5 MB, free: 20.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007837/0.2034, allocations: 0.9349 MB / 416.4 MB, free: 19.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.2038, allocations: 0.498 MB / 416.9 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.2044, allocations: 0.6965 MB / 417.6 MB, free: 18.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.2045, allocations: 72 kB / 417.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.2047, allocations: 72 kB / 417.8 MB, free: 17.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.2049, allocations: 358.8 kB / 418.1 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.2054, allocations: 0.6509 MB / 418.8 MB, free: 16.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.2063, allocations: 1.784 MB / 420.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2063, allocations: 4 kB / 420.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2063, allocations: 0 / 420.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.2063, allocations: 4 kB / 420.6 MB, free: 15.16 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.002077/0.2084, allocations: 1.546 MB / 422.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2085, allocations: 8.031 kB / 422.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.2091, allocations: 231 kB / 422.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2101, allocations: 0.9617 MB / 423.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.2102, allocations: 74.44 kB / 423.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.2103, allocations: 112.1 kB / 423.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.2123, allocations: 1.557 MB / 425 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.2123, allocations: 4 kB / 425 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.2124, allocations: 40 kB / 425.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/0.2125, allocations: 54.02 kB / 425.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.2144, allocations: 1.452 MB / 426.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/0.2197, allocations: 4.984 MB / 431.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.221, allocations: 1.468 MB / 433 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/0.222, allocations: 0.7428 MB / 433.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.222, allocations: 12.55 kB / 433.8 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008087/0.2228, allocations: 0.6162 MB / 434.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.817e-06/0.2229, allocations: 0 / 434.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.005378/0.2282, allocations: 2.485 MB / 436.9 MB, free: 14.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2283, allocations: 85.77 kB / 437 MB, free: 14.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.2295, allocations: 0.9423 MB / 437.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.2296, allocations: 41.7 kB / 438 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.23, allocations: 0.5308 MB / 438.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.2302, allocations: 232.7 kB / 438.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2302, allocations: 8 kB / 438.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.2304, allocations: 334 kB / 439 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.231, allocations: 425.7 kB / 439.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.2318, allocations: 0.5679 MB / 440 MB, free: 11.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.2332, allocations: 0.9698 MB / 441 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2333, allocations: 11.92 kB / 441 MB, free: 10.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002115/0.2354, allocations: 1.3 MB / 442.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2354, allocations: 8 kB / 442.3 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.2354, allocations: 4 kB / 442.3 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/0.2363, allocations: 399.1 kB / 442.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.2368, allocations: 119.8 kB / 442.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.2419, allocations: 4.147 MB / 447 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.2425, allocations: 79.55 kB / 447.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.2426, allocations: 24 kB / 447.1 MB, free: 3.809 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007668/0.2434, allocations: 495.2 kB / 447.6 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2435, allocations: 102.9 kB / 447.7 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.2438, allocations: 120.5 kB / 447.8 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2438, allocations: 4 kB / 447.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2438, allocations: 3.938 kB / 447.8 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2438, allocations: 7.984 kB / 447.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.2477, allocations: 2.624 MB / 450.4 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2477, allocations: 0 / 450.4 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.2481, allocations: 91.88 kB / 450.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008128/0.2489, allocations: 385 kB / 450.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.249, allocations: 20 kB / 450.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004745/0.2537, allocations: 4.096 MB / 455 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2538, allocations: 4 kB / 455 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.2568, allocations: 1.982 MB / 457 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.2572, allocations: 291.8 kB / 457.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2573, allocations: 16 kB / 457.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.2578, allocations: 43.95 kB / 457.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.258, allocations: 88.41 kB / 457.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.258, allocations: 19.98 kB / 457.4 MB, free: 9.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008187/0.2589, allocations: 0.6707 MB / 458.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2589, allocations: 4 kB / 458.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009063/0.2598, allocations: 342.9 kB / 458.4 MB, free: 8.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.26, allocations: 139.2 kB / 458.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.262, allocations: 1.288 MB / 459.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2621, allocations: 4.125 kB / 459.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.2633, allocations: 0.8176 MB / 460.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2643, allocations: 235.5 kB / 460.9 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.2687, allocations: 3.046 MB / 464 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/0.2697, allocations: 1.354 MB / 465.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.2699, allocations: 59.42 kB / 465.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2699, allocations: 0 / 465.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of Templates: time 0.02517/0.2951, allocations: 21.9 MB / 487.3 MB, free: 11.33 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches