Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002075/0.002074, allocations: 185.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001126/0.001125, allocations: 98.08 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 47.57 MB / 374.6 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4791, allocations: 87.71 MB / 462.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.4795, allocations: 95.94 kB / 462.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05658/0.5361, allocations: 13.25 MB / 475.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5361, allocations: 0 / 475.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.687e-05/0.5362, allocations: 16 kB / 475.6 MB, free: 11.62 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002838/0.5391, allocations: 0.9275 MB / 476.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5391, allocations: 8.031 kB / 476.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.5395, allocations: 83.36 kB / 476.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.5409, allocations: 490 kB / 477.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.5411, allocations: 61.25 kB / 477.2 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.5413, allocations: 60 kB / 477.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.5436, allocations: 0.6535 MB / 477.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.5437, allocations: 4 kB / 477.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.5438, allocations: 28 kB / 477.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.5438, allocations: 16 kB / 477.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.5457, allocations: 0.4892 MB / 478.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006766/0.5525, allocations: 2.337 MB / 480.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.5543, allocations: 487.2 kB / 481.2 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.264e-05/0.5544, allocations: 7.938 kB / 481.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008948/0.5553, allocations: 311.4 kB / 481.6 MB, free: 5.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 6.312e-06/0.5554, allocations: 3.984 kB / 481.6 MB, free: 5.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.002936/0.5583, allocations: 0.7506 MB / 482.3 MB, free: 4.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5585, allocations: 107.2 kB / 482.4 MB, free: 4.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5595, allocations: 448.9 kB / 482.8 MB, free: 4.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.5597, allocations: 45.69 kB / 482.9 MB, free: 4.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.5601, allocations: 351.3 kB / 483.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.5603, allocations: 138.1 kB / 483.4 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.5604, allocations: 12 kB / 483.4 MB, free: 3.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5605, allocations: 334.8 kB / 483.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.5612, allocations: 185 kB / 483.9 MB, free: 3.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.562, allocations: 331.2 kB / 484.2 MB, free: 2.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.5627, allocations: 196.7 kB / 484.4 MB, free: 2.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.5628, allocations: 4 kB / 484.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001764/0.5645, allocations: 0.5744 MB / 485 MB, free: 1.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006734/0.5652, allocations: 1.57 MB / 486.6 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.5652, allocations: 4 kB / 486.6 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.5657, allocations: 84.77 kB / 486.6 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.5664, allocations: 95.94 kB / 486.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.5692, allocations: 1.792 MB / 488.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/0.5701, allocations: 91.55 kB / 488.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.5702, allocations: 24 kB / 488.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5702, allocations: 4 kB / 488.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/0.5718, allocations: 0.5028 MB / 489.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5718, allocations: 4 kB / 489.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.5722, allocations: 76.83 kB / 489.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.5728, allocations: 88.17 kB / 489.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.5754, allocations: 1.792 MB / 491.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.576, allocations: 63.72 kB / 491.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.5761, allocations: 20 kB / 491.2 MB, free: 11.24 MB / 378.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: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006034/0.5767, allocations: 315.5 kB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.5769, allocations: 59.17 kB / 491.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.577, allocations: 61.5 kB / 491.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.5771, allocations: 4 kB / 491.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5771, allocations: 4 kB / 491.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5771, allocations: 288 / 491.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.58, allocations: 1.186 MB / 492.8 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.58, allocations: 0 / 492.8 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.5805, allocations: 59.84 kB / 492.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000366/0.5809, allocations: 72.81 kB / 492.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.5809, allocations: 4 kB / 492.9 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.5836, allocations: 1.807 MB / 494.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5836, allocations: 0 / 494.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.5858, allocations: 0.7685 MB / 495.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.5862, allocations: 176.3 kB / 495.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.5863, allocations: 8 kB / 495.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.587, allocations: 47.97 kB / 495.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.5872, allocations: 48.36 kB / 495.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.5873, allocations: 15.98 kB / 495.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007568/0.5881, allocations: 346.9 kB / 496.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5881, allocations: 0 / 496.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001529/0.5896, allocations: 287.1 kB / 496.4 MB, free: 5.758 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.59, allocations: 133.4 kB / 496.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.5928, allocations: 0.9861 MB / 497.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.5929, allocations: 4 kB / 497.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.5938, allocations: 366 kB / 497.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.5948, allocations: 89.34 kB / 498 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.5986, allocations: 1.428 MB / 499.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.5993, allocations: 0.9262 MB / 0.4886 GB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.5996, allocations: 39.44 kB / 0.4887 GB, free: 1.695 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5996, allocations: 0 / 0.4887 GB, free: 1.695 MB / 378.7 MB Notification: Performance of Templates: time 0.2928/0.8925, allocations: 9.783 MB / 0.4982 GB, free: 103.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches