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.002215/0.002215, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 90.41 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.791e-05, allocations: 0 / 314.8 MB, free: 9.121 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 47.56 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.4695, allocations: 86.97 MB / 449.3 MB, free: 15.3 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/0.47, allocations: 79.95 kB / 449.4 MB, free: 15.23 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05698/0.5269, allocations: 13.12 MB / 462.5 MB, free: 2.137 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.527, allocations: 0 / 462.5 MB, free: 2.137 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.784e-05/0.5271, allocations: 12 kB / 462.5 MB, free: 2.125 MB / 347.1 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.002365/0.5295, allocations: 0.8595 MB / 463.4 MB, free: 1.215 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5295, allocations: 12.03 kB / 463.4 MB, free: 1.203 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.5298, allocations: 83.36 kB / 463.5 MB, free: 1.121 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.531, allocations: 488.1 kB / 464 MB, free: 0.5977 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.5311, allocations: 20 kB / 464 MB, free: 0.5781 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5313, allocations: 37.59 kB / 464 MB, free: 0.543 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001227/0.5325, allocations: 410.5 kB / 464.4 MB, free: 148 kB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.534, allocations: 0.5378 MB / 465 MB, free: 15.59 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.534, allocations: 0 / 465 MB, free: 15.59 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.5341, allocations: 7.984 kB / 465 MB, free: 15.58 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.5342, allocations: 12 kB / 465 MB, free: 15.57 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.5397, allocations: 2.211 MB / 467.2 MB, free: 13.25 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.5412, allocations: 442.8 kB / 467.6 MB, free: 12.81 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/0.542, allocations: 234.5 kB / 467.9 MB, free: 12.58 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.542, allocations: 7.984 kB / 467.9 MB, free: 12.57 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000697/0.5427, allocations: 287.4 kB / 468.1 MB, free: 12.26 MB / 363.1 MB Notification: Performance of pre-optimization done (n=47): time 3.357e-06/0.5428, allocations: 0 / 468.1 MB, free: 12.26 MB / 363.1 MB Notification: Performance of matching and sorting (n=47): time 0.001208/0.544, allocations: 392.8 kB / 468.5 MB, free: 11.87 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.5441, allocations: 143.7 kB / 468.7 MB, free: 11.7 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.5449, allocations: 365 kB / 469 MB, free: 11.34 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.5451, allocations: 33.7 kB / 469.1 MB, free: 11.3 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.5455, allocations: 358.6 kB / 469.4 MB, free: 10.95 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.5457, allocations: 134.1 kB / 469.5 MB, free: 10.82 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.5457, allocations: 0 / 469.5 MB, free: 10.82 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.5459, allocations: 338.8 kB / 469.9 MB, free: 10.48 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.5464, allocations: 141.1 kB / 470 MB, free: 10.34 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.5469, allocations: 291.5 kB / 470.3 MB, free: 9.988 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.5474, allocations: 160.7 kB / 470.4 MB, free: 9.836 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.5474, allocations: 4 kB / 470.4 MB, free: 9.832 MB / 363.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001311/0.5488, allocations: 480.8 kB / 470.9 MB, free: 9.352 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008297/0.5496, allocations: 1.657 MB / 472.6 MB, free: 7.566 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.5497, allocations: 4 kB / 472.6 MB, free: 7.562 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.5502, allocations: 84.86 kB / 472.7 MB, free: 7.477 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.551, allocations: 95.83 kB / 472.8 MB, free: 7.383 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.554, allocations: 1.695 MB / 474.4 MB, free: 5.562 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/0.5549, allocations: 75.64 kB / 474.5 MB, free: 5.488 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.5549, allocations: 24 kB / 474.5 MB, free: 5.465 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.555, allocations: 4 kB / 474.6 MB, free: 5.461 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.5562, allocations: 419 kB / 475 MB, free: 5.047 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5562, allocations: 5.016 kB / 475 MB, free: 5.043 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.5566, allocations: 76.81 kB / 475 MB, free: 4.965 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.5572, allocations: 92.33 kB / 475.1 MB, free: 4.875 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.5596, allocations: 1.685 MB / 476.8 MB, free: 3.078 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.5602, allocations: 55.66 kB / 476.9 MB, free: 3.023 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.5603, allocations: 24 kB / 476.9 MB, free: 3 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.5606, allocations: 140 kB / 477 MB, free: 2.855 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.5607, allocations: 47.44 kB / 477.1 MB, free: 2.809 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.5609, allocations: 52.97 kB / 477.1 MB, free: 2.754 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.561, allocations: 7.953 kB / 477.1 MB, free: 2.746 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.561, allocations: 4.75 kB / 477.1 MB, free: 2.742 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.561, allocations: 3.984 kB / 477.1 MB, free: 2.738 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.5636, allocations: 1.135 MB / 478.3 MB, free: 1.551 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5637, allocations: 0 / 478.3 MB, free: 1.551 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.5642, allocations: 51.91 kB / 478.3 MB, free: 1.5 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.5645, allocations: 64.83 kB / 478.4 MB, free: 1.434 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.5646, allocations: 12.05 kB / 478.4 MB, free: 1.422 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.5669, allocations: 1.592 MB / 480 MB, free: 15.71 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.567, allocations: 4.062 kB / 480 MB, free: 15.71 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5687, allocations: 0.7029 MB / 480.7 MB, free: 14.98 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.5691, allocations: 164.4 kB / 480.9 MB, free: 14.8 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5692, allocations: 3.984 kB / 480.9 MB, free: 14.8 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.5699, allocations: 35.97 kB / 480.9 MB, free: 14.77 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.5701, allocations: 60 kB / 481 MB, free: 14.71 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.5701, allocations: 19.97 kB / 481 MB, free: 14.69 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.5707, allocations: 267 kB / 481.2 MB, free: 14.43 MB / 379.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5707, allocations: 0 / 481.2 MB, free: 14.43 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001402/0.5721, allocations: 270.9 kB / 481.5 MB, free: 14.16 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.5724, allocations: 125.4 kB / 481.6 MB, free: 14.03 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.5745, allocations: 0.8587 MB / 482.5 MB, free: 13.15 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5746, allocations: 0 / 482.5 MB, free: 13.15 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.5754, allocations: 329.4 kB / 482.8 MB, free: 12.82 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.5763, allocations: 55.44 kB / 482.9 MB, free: 12.77 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.579, allocations: 0.8561 MB / 483.7 MB, free: 11.88 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/0.5797, allocations: 0.9219 MB / 484.6 MB, free: 10.92 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.58, allocations: 43.42 kB / 484.7 MB, free: 10.88 MB / 379.1 MB Notification: Performance of SimCode: time 1.001e-06/0.58, allocations: 0 / 484.7 MB, free: 10.88 MB / 379.1 MB Notification: Performance of Templates: time 0.02184/0.6018, allocations: 9.518 MB / 494.2 MB, free: 1.387 MB / 379.1 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