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_Characteristic.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_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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, 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.333/1.333, allocations: 221.5 MB / 230.3 MB, free: 7.527 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.0007748/0.0007748, allocations: 81.7 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.467e-05, allocations: 4 kB / 337.1 MB, free: 9.992 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.0881, allocations: 50.41 MB / 387.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/0.3816, allocations: 85.32 MB / 472.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.3818, allocations: 83.95 kB / 472.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0273/0.4091, allocations: 10.43 MB / 483.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4092, allocations: 0 / 483.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.4092, allocations: 12 kB / 483.3 MB, free: 14.95 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001411/0.4106, allocations: 0.7218 MB / 484 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4107, allocations: 8.031 kB / 484 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.4109, allocations: 55.34 kB / 484.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.4115, allocations: 388.8 kB / 484.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.4116, allocations: 23.98 kB / 484.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.4116, allocations: 24 kB / 484.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006142/0.4123, allocations: 306.5 kB / 484.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.413, allocations: 425.9 kB / 485.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.413, allocations: 0 / 485.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.4131, allocations: 0 / 485.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4131, allocations: 12 kB / 485.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.4156, allocations: 1.58 MB / 486.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.4164, allocations: 382.9 kB / 487.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4166, allocations: 104.8 kB / 487.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.4167, allocations: 11.98 kB / 487.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.417, allocations: 239.1 kB / 487.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.417, allocations: 0 / 487.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006099/0.4177, allocations: 323.5 kB / 487.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.4177, allocations: 132.5 kB / 488 MB, free: 10.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.418, allocations: 277.1 kB / 488.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.4181, allocations: 25.7 kB / 488.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.4182, allocations: 244 kB / 488.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.4183, allocations: 98.61 kB / 488.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.4184, allocations: 4 kB / 488.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4185, allocations: 346.8 kB / 489 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.4187, allocations: 108.8 kB / 489.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.4189, allocations: 267 kB / 489.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4192, allocations: 127.9 kB / 489.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4192, allocations: 4 kB / 489.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005703/0.4197, allocations: 386 kB / 489.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005826/0.4203, allocations: 1.664 MB / 491.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4204, allocations: 4 kB / 491.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.4206, allocations: 48.83 kB / 491.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4209, allocations: 79.89 kB / 491.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.4221, allocations: 1.443 MB / 493.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.4225, allocations: 63.72 kB / 493.1 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.4225, allocations: 19.98 kB / 493.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.4225, allocations: 4 kB / 493.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005254/0.4231, allocations: 324.6 kB / 493.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4231, allocations: 4 kB / 493.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.4232, allocations: 44.83 kB / 493.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.4235, allocations: 80.52 kB / 493.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.4246, allocations: 1.451 MB / 495.1 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.4249, allocations: 55.81 kB / 495.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.4249, allocations: 16 kB / 495.1 MB, free: 2.402 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 (49): * Single equations (assignments): 48 * 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.0001681/0.4251, allocations: 128 kB / 495.2 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.4252, allocations: 43.42 kB / 495.3 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/0.4253, allocations: 40.39 kB / 495.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4253, allocations: 4 kB / 495.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4253, allocations: 3.984 kB / 495.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4253, allocations: 0 / 495.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.4265, allocations: 0.8159 MB / 496.2 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4265, allocations: 4 kB / 496.2 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.4268, allocations: 43.91 kB / 496.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.4269, allocations: 48.89 kB / 496.2 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.427, allocations: 0 / 496.2 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009969/0.428, allocations: 1.358 MB / 497.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.428, allocations: 3.938 kB / 497.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.4287, allocations: 0.5395 MB / 498.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.4289, allocations: 148.6 kB / 498.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.4289, allocations: 4 kB / 498.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.4292, allocations: 43.89 kB / 498.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.4293, allocations: 39.95 kB / 498.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.4294, allocations: 11.98 kB / 498.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00024/0.4296, allocations: 204.6 kB / 498.6 MB, free: 14.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4296, allocations: 0 / 498.6 MB, free: 14.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008534/0.4305, allocations: 187.3 kB / 498.8 MB, free: 14.54 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 (30): * Single equations (assignments): 24 * 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.0002147/0.4307, allocations: 133 kB / 498.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4318, allocations: 0.6768 MB / 499.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4318, allocations: 2.062 kB / 499.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.4321, allocations: 262 kB / 499.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.4326, allocations: 48.44 kB / 499.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.434, allocations: 0.6144 MB / 0.4888 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.4345, allocations: 0.863 MB / 0.4896 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.4348, allocations: 95.47 kB / 0.4897 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.4349, allocations: 27.42 kB / 0.4897 GB, free: 11.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4349, allocations: 4 kB / 0.4897 GB, free: 11.74 MB / 378.7 MB Notification: Performance of Templates: time 0.01015/0.445, allocations: 5.036 MB / 0.4946 GB, free: 6.773 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_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_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches