Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001911/0.001911, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.986/2.986, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001293/0.001294, allocations: 93.08 kB / 271.9 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005236, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5809, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.7408, allocations: 84.81 MB / 460.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/0.7413, allocations: 87.94 kB / 460.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04774/0.7891, allocations: 9.78 MB / 470.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.7892, allocations: 0 / 470.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.892e-05/0.7893, allocations: 11.98 kB / 470.4 MB, free: 1.926 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002924/0.7922, allocations: 0.7468 MB / 471.2 MB, free: 1.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/0.7923, allocations: 8.031 kB / 471.2 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.7927, allocations: 60.28 kB / 471.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.794, allocations: 384.1 kB / 471.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.7941, allocations: 41.31 kB / 471.7 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.7943, allocations: 40.38 kB / 471.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.796, allocations: 483.5 kB / 472.2 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.7961, allocations: 192 / 472.2 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.7962, allocations: 23.94 kB / 472.2 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.7962, allocations: 8 kB / 472.2 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.7977, allocations: 375.8 kB / 472.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005482/0.8032, allocations: 1.589 MB / 474.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.8049, allocations: 403.4 kB / 474.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.8055, allocations: 149.2 kB / 474.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.8056, allocations: 12.17 kB / 474.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009149/0.8065, allocations: 277.1 kB / 475 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 4.769e-06/0.8065, allocations: 4 kB / 475 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.0025/0.809, allocations: 0.6238 MB / 475.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.8092, allocations: 114.8 kB / 475.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.8101, allocations: 320.4 kB / 476 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/0.8102, allocations: 37.7 kB / 476.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.8106, allocations: 236.1 kB / 476.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.8108, allocations: 102.6 kB / 476.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.8109, allocations: 12 kB / 476.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.8112, allocations: 342.8 kB / 476.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.8117, allocations: 144.8 kB / 476.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/0.8125, allocations: 294.2 kB / 477.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.8139, allocations: 412.5 kB / 477.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.8139, allocations: 4 kB / 477.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001746/0.8157, allocations: 481.8 kB / 478 MB, free: 9.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004205/0.8161, allocations: 218.8 kB / 478.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.8162, allocations: 8 kB / 478.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.8166, allocations: 48.83 kB / 478.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.8171, allocations: 71.89 kB / 478.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.8196, allocations: 1.502 MB / 479.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.8203, allocations: 67.72 kB / 480 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.8204, allocations: 16 kB / 480 MB, free: 7.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8204, allocations: 4 kB / 480 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/0.822, allocations: 400.8 kB / 480.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.8221, allocations: 4 kB / 480.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.8224, allocations: 52.86 kB / 480.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.8229, allocations: 72.03 kB / 480.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.8254, allocations: 1.498 MB / 482 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.8262, allocations: 59.64 kB / 482.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.8263, allocations: 24.06 kB / 482.1 MB, free: 5.488 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007945/0.8271, allocations: 263.3 kB / 482.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8273, allocations: 39.55 kB / 482.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.8276, allocations: 39.95 kB / 482.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.8276, allocations: 4 kB / 482.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/0.8276, allocations: 0 / 482.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.8276, allocations: 3.938 kB / 482.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.8311, allocations: 0.9333 MB / 483.3 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8312, allocations: 4 kB / 483.4 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.8316, allocations: 47.91 kB / 483.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.8319, allocations: 40.84 kB / 483.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.832, allocations: 7.984 kB / 483.4 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.8345, allocations: 1.421 MB / 484.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8345, allocations: 0 / 484.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.837, allocations: 0.6406 MB / 485.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.8374, allocations: 132.6 kB / 485.6 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.8375, allocations: 12 kB / 485.7 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.8382, allocations: 48.08 kB / 485.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.8384, allocations: 43.88 kB / 485.7 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/0.8385, allocations: 19.98 kB / 485.8 MB, free: 1.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006295/0.8392, allocations: 215.1 kB / 486 MB, free: 1.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8392, allocations: 0 / 486 MB, free: 1.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002036/0.8412, allocations: 195.3 kB / 486.2 MB, free: 1.156 MB / 362.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004283/0.8417, allocations: 123 kB / 486.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.845, allocations: 0.7962 MB / 487.1 MB, free: 212 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/0.8451, allocations: 7.938 kB / 487.1 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.8462, allocations: 294.9 kB / 487.4 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.8473, allocations: 60.33 kB / 487.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.8514, allocations: 1.013 MB / 488.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.8525, allocations: 0.8395 MB / 489.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.8527, allocations: 31.44 kB / 489.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.572e-06/0.8528, allocations: 3.938 kB / 489.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of Templates: time 0.02405/0.8768, allocations: 6.924 MB / 496.2 MB, free: 6.988 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches