Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.389/1.389, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008058/0.000806, allocations: 74.67 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.1e-05, allocations: 0 / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.08067, allocations: 47.57 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/0.3726, allocations: 87.53 MB / 457.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3729, allocations: 91.28 kB / 457.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03564/0.4085, allocations: 13.61 MB / 471.3 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4086, allocations: 4 kB / 471.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.4086, allocations: 19.98 kB / 471.3 MB, free: 9.535 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001443/0.4101, allocations: 0.8598 MB / 472.2 MB, free: 8.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.4101, allocations: 8.031 kB / 472.2 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.4103, allocations: 87.05 kB / 472.2 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.4111, allocations: 497.9 kB / 472.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.4111, allocations: 53.31 kB / 472.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.4112, allocations: 63.98 kB / 472.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.4123, allocations: 0.6631 MB / 473.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.4123, allocations: 11.92 kB / 473.5 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.4124, allocations: 28 kB / 473.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.4124, allocations: 16 kB / 473.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.4132, allocations: 485.1 kB / 474 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.4166, allocations: 2.604 MB / 476.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4177, allocations: 0.5645 MB / 477.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.4182, allocations: 322.4 kB / 477.5 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.4183, allocations: 4.906 kB / 477.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/0.4188, allocations: 345.7 kB / 477.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.767e-06/0.4188, allocations: 0 / 477.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0008745/0.4197, allocations: 0.5071 MB / 478.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.4198, allocations: 115.4 kB / 478.5 MB, free: 2.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.4203, allocations: 427.7 kB / 478.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.4204, allocations: 49.69 kB / 479 MB, free: 1.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.4206, allocations: 304.4 kB / 479.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4207, allocations: 165.7 kB / 479.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.4208, allocations: 12 kB / 479.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4209, allocations: 366.8 kB / 479.8 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.4212, allocations: 177.5 kB / 480 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.4216, allocations: 333.5 kB / 480.3 MB, free: 152 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.4219, allocations: 199.2 kB / 480.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4219, allocations: 0 / 480.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009854/0.4229, allocations: 0.6474 MB / 481.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005948/0.4235, allocations: 1.583 MB / 482.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4236, allocations: 4 kB / 482.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.4241, allocations: 156.7 kB / 482.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.4244, allocations: 87.83 kB / 482.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.4271, allocations: 2.351 MB / 485.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.4276, allocations: 87.53 kB / 485.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4276, allocations: 24 kB / 485.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.4276, allocations: 4 kB / 485.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000869/0.4285, allocations: 0.5647 MB / 486 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4285, allocations: 4 kB / 486 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.4289, allocations: 152.9 kB / 486.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.4292, allocations: 75.91 kB / 486.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.4317, allocations: 2.35 MB / 488.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.4321, allocations: 67.61 kB / 488.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.4322, allocations: 20 kB / 488.6 MB, free: 7.387 MB / 362.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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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.0001871/0.4324, allocations: 164.8 kB / 488.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.4325, allocations: 55.34 kB / 488.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.4326, allocations: 73.28 kB / 488.9 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4326, allocations: 4 kB / 488.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4326, allocations: 3.953 kB / 488.9 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4327, allocations: 0 / 488.9 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4345, allocations: 1.348 MB / 490.3 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4345, allocations: 7.922 kB / 490.3 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.4347, allocations: 47.91 kB / 490.3 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/0.4351, allocations: 144.8 kB / 490.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.4351, allocations: 8 kB / 490.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.4375, allocations: 2.244 MB / 492.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4375, allocations: 4 kB / 492.7 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4387, allocations: 0.8944 MB / 493.6 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.439, allocations: 184.4 kB / 493.8 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.4391, allocations: 12 kB / 493.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.4394, allocations: 43.97 kB / 493.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4396, allocations: 72.33 kB / 493.9 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.4396, allocations: 27.88 kB / 494 MB, free: 1.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.44, allocations: 325.6 kB / 494.3 MB, free: 1.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.44, allocations: 0 / 494.3 MB, free: 1.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009385/0.4409, allocations: 339.1 kB / 494.6 MB, free: 1.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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.0001859/0.4411, allocations: 137.6 kB / 494.7 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.4429, allocations: 1.151 MB / 495.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4429, allocations: 64 / 495.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.4434, allocations: 448.7 kB / 496.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.444, allocations: 98.77 kB / 496.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4456, allocations: 0.8868 MB / 497.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.4461, allocations: 0.9438 MB / 498.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.4465, allocations: 108.8 kB / 498.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.4466, allocations: 31.44 kB / 498.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4466, allocations: 0 / 498.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of Templates: time 0.01858/0.4651, allocations: 10.75 MB / 0.4972 GB, free: 2.504 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches