Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001986/0.001986, allocations: 185.5 kB / 17.41 MB, free: 4.402 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.158/3.158, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001357/0.001357, allocations: 89.56 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005135, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.556, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.7387, allocations: 87.84 MB / 463.6 MB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005438/0.7394, allocations: 83.95 kB / 463.7 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0487/0.7881, allocations: 10.91 MB / 474.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.735e-06/0.7882, allocations: 3.938 kB / 474.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.7884, allocations: 20 kB / 474.6 MB, free: 13.7 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.0039/0.7923, allocations: 0.9306 MB / 475.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.931e-05/0.7924, allocations: 8.031 kB / 475.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.793, allocations: 87.94 kB / 475.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.7948, allocations: 0.5027 MB / 476.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.7949, allocations: 53.67 kB / 476.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.7952, allocations: 60.38 kB / 476.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.7979, allocations: 0.6948 MB / 476.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.798, allocations: 4.188 kB / 476.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.7982, allocations: 31.92 kB / 477 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.7982, allocations: 16 kB / 477 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.8002, allocations: 0.5282 MB / 477.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007622/0.8078, allocations: 2.586 MB / 480.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.8098, allocations: 0.5771 MB / 480.7 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009901/0.8109, allocations: 314.6 kB / 481 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-05/0.811, allocations: 4.438 kB / 481 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.8121, allocations: 352.3 kB / 481.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 9.718e-06/0.8122, allocations: 0 / 481.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004589/0.8168, allocations: 0.9888 MB / 482.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/0.8171, allocations: 127.3 kB / 482.4 MB, free: 5.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.8189, allocations: 0.4901 MB / 482.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.8191, allocations: 45.62 kB / 483 MB, free: 4.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.8196, allocations: 308.4 kB / 483.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.8199, allocations: 165.6 kB / 483.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.82, allocations: 16 kB / 483.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002944/0.8203, allocations: 366.7 kB / 483.8 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.821, allocations: 201.2 kB / 484 MB, free: 3.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/0.8219, allocations: 352.2 kB / 484.4 MB, free: 3.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.8232, allocations: 493.9 kB / 484.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.8232, allocations: 8 kB / 484.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002264/0.8255, allocations: 0.675 MB / 485.5 MB, free: 2.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.8258, allocations: 209.9 kB / 485.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.8258, allocations: 4 kB / 485.7 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/0.8267, allocations: 156.7 kB / 485.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.8272, allocations: 87.83 kB / 486 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.8324, allocations: 2.32 MB / 488.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.8335, allocations: 91.53 kB / 488.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.8337, allocations: 20 kB / 488.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.8337, allocations: 8.875 kB / 488.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001959/0.8357, allocations: 0.5837 MB / 489 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.8357, allocations: 4.5 kB / 489 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006812/0.8364, allocations: 152.8 kB / 489.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.8369, allocations: 79.83 kB / 489.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.8415, allocations: 2.328 MB / 491.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.8425, allocations: 71.5 kB / 491.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.8426, allocations: 24 kB / 491.6 MB, free: 11.83 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,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,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0009059/0.8435, allocations: 313 kB / 491.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.8438, allocations: 55.34 kB / 492 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.8441, allocations: 65.53 kB / 492.1 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.8441, allocations: 11.98 kB / 492.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8441, allocations: 0 / 492.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8442, allocations: 0 / 492.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/0.848, allocations: 1.348 MB / 493.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.848, allocations: 0 / 493.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.8484, allocations: 43.86 kB / 493.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007072/0.8491, allocations: 150.4 kB / 493.6 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.8492, allocations: 12 kB / 493.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/0.8537, allocations: 2.322 MB / 495.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8538, allocations: 4 kB / 496 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.8563, allocations: 0.8866 MB / 496.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.8569, allocations: 184.3 kB / 497 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.8571, allocations: 15.98 kB / 497 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.8578, allocations: 39.97 kB / 497.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.8581, allocations: 64.34 kB / 497.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.8581, allocations: 15.94 kB / 497.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008825/0.859, allocations: 346.9 kB / 497.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.8591, allocations: 0 / 497.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002304/0.8614, allocations: 335.1 kB / 497.8 MB, free: 5.41 MB / 378.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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * 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.000509/0.8619, allocations: 129.4 kB / 497.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003966/0.8659, allocations: 1.176 MB / 499.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/0.866, allocations: 0.875 kB / 499.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.8672, allocations: 460.9 kB / 499.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.8688, allocations: 123.1 kB / 499.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.874, allocations: 1.449 MB / 0.4894 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.8754, allocations: 0.9233 MB / 0.4903 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.8758, allocations: 39.44 kB / 0.4903 GB, free: 1.016 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/0.8758, allocations: 0 / 0.4903 GB, free: 1.016 MB / 378.7 MB Notification: Performance of Templates: time 0.4067/1.282, allocations: 10.85 MB / 0.5009 GB, free: 103.8 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches