Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00276/0.002761, allocations: 178.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.439/3.439, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 85.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005903/0.0005908, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5111, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.6792, allocations: 84.13 MB / 459.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004444/0.6797, allocations: 91.95 kB / 460 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08743/0.7672, allocations: 21.07 MB / 481 MB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.7673, allocations: 0 / 481 MB, free: 7.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003595/0.7676, allocations: 28 kB / 481.1 MB, free: 7.125 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.008028/0.7757, allocations: 1.525 MB / 482.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/0.7758, allocations: 15.97 kB / 482.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.7769, allocations: 151.2 kB / 482.7 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.7808, allocations: 0.9888 MB / 483.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.7809, allocations: 78.41 kB / 483.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005906/0.7815, allocations: 100.4 kB / 483.9 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006007/0.7876, allocations: 1.533 MB / 485.4 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.7877, allocations: 4.125 kB / 485.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.788, allocations: 47.88 kB / 485.5 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.352e-05/0.7881, allocations: 50.02 kB / 485.5 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.7933, allocations: 1.378 MB / 486.9 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.8058, allocations: 4.973 MB / 491.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.8084, allocations: 1.46 MB / 493.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.8108, allocations: 0.7399 MB / 494.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.8111, allocations: 8.547 kB / 494.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.8133, allocations: 0.6239 MB / 494.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 7.043e-06/0.8133, allocations: 0 / 494.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.01052/0.8239, allocations: 2.497 MB / 497.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.8241, allocations: 89.77 kB / 497.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.827, allocations: 0.9304 MB / 498.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.8273, allocations: 41.7 kB / 498.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/0.8282, allocations: 0.5153 MB / 498.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/0.8287, allocations: 232.7 kB / 499 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.8288, allocations: 20 kB / 499 MB, free: 4.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.8291, allocations: 330 kB / 499.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.8305, allocations: 421.7 kB / 499.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.832, allocations: 0.5516 MB / 0.4886 GB, free: 3.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.8348, allocations: 0.9575 MB / 0.4895 GB, free: 2.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.8348, allocations: 3.938 kB / 0.4895 GB, free: 2.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004415/0.8392, allocations: 1.296 MB / 0.4908 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.8393, allocations: 4 kB / 0.4908 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.8394, allocations: 7.938 kB / 0.4908 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.8411, allocations: 403.2 kB / 0.4912 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008789/0.842, allocations: 115.8 kB / 0.4913 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4546/1.297, allocations: 4.125 MB / 0.4953 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.298, allocations: 90.34 kB / 0.4954 GB, free: 100.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.298, allocations: 22.59 kB / 0.4954 GB, free: 100.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (58): * Single equations (assignments): 57 * 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.001674/1.3, allocations: 492.9 kB / 0.4959 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/1.3, allocations: 92.78 kB / 0.496 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/1.301, allocations: 124.7 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/1.301, allocations: 9.781 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.301, allocations: 0 / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/1.301, allocations: 4.641 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007634/1.308, allocations: 2.618 MB / 0.4987 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.309, allocations: 0 / 0.4987 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/1.309, allocations: 94.45 kB / 0.4988 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/1.311, allocations: 383.3 kB / 0.4991 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.091e-05/1.311, allocations: 16.36 kB / 0.4992 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008895/1.32, allocations: 4.089 MB / 0.5032 GB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.32, allocations: 0 / 0.5032 GB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/1.325, allocations: 1.985 MB / 0.5051 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.326, allocations: 287.1 kB / 0.5054 GB, free: 97.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/1.327, allocations: 14.31 kB / 0.5054 GB, free: 97.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/1.327, allocations: 49.47 kB / 0.5054 GB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/1.328, allocations: 77.23 kB / 0.5055 GB, free: 97.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/1.328, allocations: 23.23 kB / 0.5055 GB, free: 97.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001848/1.33, allocations: 0.6676 MB / 0.5062 GB, free: 97.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.33, allocations: 0 / 0.5062 GB, free: 97.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002463/1.332, allocations: 355.7 kB / 0.5065 GB, free: 97.07 MB / 378.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,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 (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.0004624/1.333, allocations: 120.7 kB / 0.5066 GB, free: 96.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003661/1.337, allocations: 1.29 MB / 0.5079 GB, free: 96.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.337, allocations: 0 / 0.5079 GB, free: 96.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/1.338, allocations: 0.8175 MB / 0.5087 GB, free: 96.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.341, allocations: 250.4 kB / 0.5089 GB, free: 96.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/1.35, allocations: 3.008 MB / 0.5119 GB, free: 94.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.351, allocations: 1.352 MB / 0.5132 GB, free: 93.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005052/1.352, allocations: 58.34 kB / 0.5132 GB, free: 93.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/1.352, allocations: 3.172 kB / 0.5132 GB, free: 93.71 MB / 378.7 MB Notification: Performance of Templates: time 0.04646/1.398, allocations: 21.69 MB / 0.5344 GB, free: 78.98 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches