Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 176.2 kB / 8.348 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.305/1.305, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0008706/0.0008706, allocations: 97.09 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.849e-05, allocations: 0 / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08516, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.3892, allocations: 85.11 MB / 472.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.3896, allocations: 87.94 kB / 472.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02738/0.417, allocations: 10.29 MB / 483 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.417, allocations: 4 kB / 483 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.4171, allocations: 16 kB / 483 MB, free: 15.29 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001138/0.4182, allocations: 0.6926 MB / 483.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4183, allocations: 15.95 kB / 483.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.4184, allocations: 55.34 kB / 483.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.4189, allocations: 367.5 kB / 484.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.4189, allocations: 19.98 kB / 484.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.419, allocations: 32 kB / 484.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004989/0.4195, allocations: 302.5 kB / 484.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.4202, allocations: 413.9 kB / 484.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4202, allocations: 3.906 kB / 484.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.4202, allocations: 0 / 484.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4202, allocations: 12 kB / 484.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.4226, allocations: 1.556 MB / 486.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.4231, allocations: 278.6 kB / 486.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.4233, allocations: 100.8 kB / 486.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.4233, allocations: 0 / 486.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.4237, allocations: 224.9 kB / 487 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.4237, allocations: 0 / 487 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005693/0.4242, allocations: 293.9 kB / 487.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.4243, allocations: 140.5 kB / 487.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.4247, allocations: 281.1 kB / 487.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.4247, allocations: 33.69 kB / 487.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4249, allocations: 248.3 kB / 488 MB, free: 10.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.4249, allocations: 90.72 kB / 488.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.425, allocations: 4 kB / 488.1 MB, free: 9.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4251, allocations: 346.8 kB / 488.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.4252, allocations: 96.86 kB / 488.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.4255, allocations: 267.5 kB / 488.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.4257, allocations: 123.9 kB / 488.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4257, allocations: 7.938 kB / 488.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005523/0.4263, allocations: 382.8 kB / 489.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005596/0.4269, allocations: 1.663 MB / 490.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4269, allocations: 4 kB / 490.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.4271, allocations: 48.83 kB / 491 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.4274, allocations: 67.91 kB / 491.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.4287, allocations: 1.447 MB / 492.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.4291, allocations: 71.7 kB / 492.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.4292, allocations: 19.94 kB / 492.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4292, allocations: 7.938 kB / 492.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000589/0.4298, allocations: 313 kB / 492.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4298, allocations: 4 kB / 492.9 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.43, allocations: 44.84 kB / 493 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.4302, allocations: 67.8 kB / 493 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4314, allocations: 1.443 MB / 494.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.4318, allocations: 55.67 kB / 494.5 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4318, allocations: 24.05 kB / 494.5 MB, free: 2.992 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_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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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.0001721/0.432, allocations: 128 kB / 494.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.4321, allocations: 35.58 kB / 494.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.4322, allocations: 40.33 kB / 494.7 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4322, allocations: 4 kB / 494.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4322, allocations: 0 / 494.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4322, allocations: 3.984 kB / 494.8 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4334, allocations: 0.8003 MB / 495.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.4334, allocations: 0 / 495.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.4335, allocations: 23.98 kB / 495.6 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.4337, allocations: 32.84 kB / 495.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4337, allocations: 12.08 kB / 495.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.4348, allocations: 1.354 MB / 497 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4348, allocations: 0 / 497 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.4355, allocations: 0.5121 MB / 497.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.4357, allocations: 140.7 kB / 497.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.4357, allocations: 4 kB / 497.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.436, allocations: 31.97 kB / 497.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.4361, allocations: 39.89 kB / 497.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4361, allocations: 8 kB / 497.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.4364, allocations: 220.4 kB / 497.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4364, allocations: 0 / 497.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007712/0.4372, allocations: 187.3 kB / 498.1 MB, free: 15.22 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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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.0002384/0.4374, allocations: 116.9 kB / 498.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4385, allocations: 0.6747 MB / 498.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4385, allocations: 0 / 498.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.4387, allocations: 234.3 kB / 499.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.4391, allocations: 49.12 kB / 499.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4402, allocations: 0.5893 MB / 499.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.4407, allocations: 0.8584 MB / 0.4889 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.441, allocations: 91.19 kB / 0.489 GB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.441, allocations: 23.44 kB / 0.489 GB, free: 12.51 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4411, allocations: 4 kB / 0.489 GB, free: 12.5 MB / 378.7 MB Notification: Performance of Templates: time 0.00953/0.4506, allocations: 4.815 MB / 0.4937 GB, free: 7.75 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches