Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 97 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.481e-05/1.484e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08923/0.08926, allocations: 50.43 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.384, allocations: 88.26 MB / 475.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.3843, allocations: 85.5 kB / 475.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02973/0.414, allocations: 11.3 MB / 487.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.414, allocations: 4 kB / 487.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.002e-05/0.4141, allocations: 16 kB / 487.2 MB, free: 11.09 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001428/0.4155, allocations: 0.8803 MB / 488 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4156, allocations: 12.03 kB / 488 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.4157, allocations: 86.97 kB / 488.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.4164, allocations: 0.4962 MB / 488.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.4165, allocations: 20 kB / 488.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.4166, allocations: 47.91 kB / 488.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007878/0.4174, allocations: 470.5 kB / 489.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.4183, allocations: 0.6105 MB / 489.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.4184, allocations: 0 / 489.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.4184, allocations: 7.984 kB / 489.8 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4185, allocations: 15.94 kB / 489.8 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.4217, allocations: 2.539 MB / 492.3 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.4225, allocations: 0.4905 MB / 492.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.4229, allocations: 254.5 kB / 493.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.4229, allocations: 4.438 kB / 493.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.4235, allocations: 334.5 kB / 493.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 2.275e-06/0.4235, allocations: 0 / 493.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008288/0.4243, allocations: 499.2 kB / 493.9 MB, free: 4.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.4244, allocations: 141.1 kB / 494 MB, free: 3.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.4248, allocations: 377.1 kB / 494.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.4249, allocations: 29.7 kB / 494.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.4251, allocations: 328.1 kB / 494.7 MB, free: 3.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.4252, allocations: 157.6 kB / 494.9 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.4252, allocations: 0 / 494.9 MB, free: 3.027 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4253, allocations: 366.8 kB / 495.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.4256, allocations: 169.5 kB / 495.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.426, allocations: 333.5 kB / 495.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.4263, allocations: 202.1 kB / 495.9 MB, free: 1.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4263, allocations: 0 / 495.9 MB, free: 1.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008608/0.4271, allocations: 0.5854 MB / 496.5 MB, free: 1.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005234/0.4277, allocations: 1.574 MB / 498.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4277, allocations: 11.88 kB / 498.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.4281, allocations: 144.7 kB / 498.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.4285, allocations: 91.83 kB / 498.3 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.4308, allocations: 2.259 MB / 0.4889 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.4313, allocations: 71.59 kB / 0.4889 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.4313, allocations: 24 kB / 0.489 GB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.862e-06/0.4313, allocations: 8 kB / 0.489 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000749/0.4321, allocations: 0.4979 MB / 0.4895 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4321, allocations: 4.5 kB / 0.4895 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.4324, allocations: 156.9 kB / 0.4896 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.4327, allocations: 79.84 kB / 0.4897 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.4349, allocations: 2.255 MB / 0.4919 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.4353, allocations: 55.66 kB / 0.4919 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.4353, allocations: 20 kB / 0.492 GB, free: 9.715 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: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.4355, allocations: 135.9 kB / 0.4921 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.4356, allocations: 59.3 kB / 0.4921 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.4357, allocations: 61.58 kB / 0.4922 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4357, allocations: 4 kB / 0.4922 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4357, allocations: 0 / 0.4922 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4358, allocations: 7.984 kB / 0.4922 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.4375, allocations: 1.242 MB / 0.4934 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4375, allocations: 0 / 0.4934 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4377, allocations: 51.91 kB / 0.4935 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003662/0.4381, allocations: 136.9 kB / 0.4936 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.4382, allocations: 8 kB / 0.4936 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.4405, allocations: 2.222 MB / 0.4958 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4405, allocations: 0 / 0.4958 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4417, allocations: 0.8624 MB / 0.4966 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.442, allocations: 184.3 kB / 0.4968 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/0.4421, allocations: 4 kB / 0.4968 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.4424, allocations: 35.97 kB / 0.4968 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4426, allocations: 60.47 kB / 0.4969 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.4426, allocations: 19.98 kB / 0.4969 GB, free: 4.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003442/0.443, allocations: 275 kB / 0.4972 GB, free: 4.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.443, allocations: 0 / 0.4972 GB, free: 4.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001061/0.4441, allocations: 311 kB / 0.4975 GB, free: 3.852 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_p2.off,rectifier.thyristor_p1.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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000195/0.4443, allocations: 127.3 kB / 0.4976 GB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.4459, allocations: 1.115 MB / 0.4987 GB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.446, allocations: 0 / 0.4987 GB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.4465, allocations: 420.4 kB / 0.4991 GB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.447, allocations: 87.8 kB / 0.4992 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.4487, allocations: 0.8838 MB / 0.5 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.4492, allocations: 0.959 MB / 0.501 GB, free: 188 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.4496, allocations: 116.8 kB / 0.5011 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.4497, allocations: 31.44 kB / 0.5011 GB, free: 36 kB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4497, allocations: 0 / 0.5011 GB, free: 36 kB / 378.7 MB Notification: Performance of Templates: time 0.01551/0.4652, allocations: 9.61 MB / 0.5105 GB, free: 6.602 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches