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_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|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_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001538, allocations: 109.3 kB / 18.35 MB, free: 4.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001703, allocations: 190.9 kB / 19.29 MB, free: 3.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 43.94 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07073/0.07189, allocations: 46.64 MB / 328.8 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.006055/0.07798, allocations: 5.024 MB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.08022, allocations: 1.493 MB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.08049, allocations: 23.94 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.08079, allocations: 142.6 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.08124, allocations: 206.2 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.08178, allocations: 323.5 kB / 336 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008402/0.08263, allocations: 1.002 MB / 337 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.08323, allocations: 478.4 kB / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.08359, allocations: 382.6 kB / 337.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.08401, allocations: 398.2 kB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.08414, allocations: 96 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.08429, allocations: 92 kB / 338.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.08446, allocations: 219.2 kB / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.0848, allocations: 437.9 kB / 339 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.08562, allocations: 1.071 MB / 340.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08563, allocations: 0 / 340.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08564, allocations: 0 / 340.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.08565, allocations: 0 / 340.1 MB, free: 8.309 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001766/0.08742, allocations: 1.12 MB / 341.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.08746, allocations: 8.031 kB / 341.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.0876, allocations: 87.91 kB / 341.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.0883, allocations: 0.5305 MB / 341.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.08836, allocations: 58.36 kB / 341.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/0.08847, allocations: 68.38 kB / 341.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.08968, allocations: 0.7618 MB / 342.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.08971, allocations: 0 / 342.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.08978, allocations: 31.98 kB / 342.7 MB, free: 5.527 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.0898, allocations: 19.94 kB / 342.8 MB, free: 5.508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.09089, allocations: 0.5595 MB / 343.3 MB, free: 4.949 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.0942, allocations: 2.611 MB / 345.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.09538, allocations: 0.6129 MB / 346.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.09639, allocations: 486.1 kB / 347 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.09645, allocations: 8.5 kB / 347 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006484/0.0971, allocations: 397.8 kB / 347.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=61): time 1.864e-06/0.09712, allocations: 0 / 347.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.002697/0.09982, allocations: 1.185 MB / 348.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.09989, allocations: 115.4 kB / 348.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.1004, allocations: 473.9 kB / 349.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.1004, allocations: 49.69 kB / 349.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1006, allocations: 324.2 kB / 349.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1008, allocations: 185.4 kB / 349.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.101, allocations: 134.6 kB / 349.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1011, allocations: 374.7 kB / 350.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.1016, allocations: 232.7 kB / 350.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.1021, allocations: 380.5 kB / 350.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008912/0.103, allocations: 0.5535 MB / 351.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.103, allocations: 0 / 351.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001333/0.1044, allocations: 0.7612 MB / 352.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1044, allocations: 12.47 kB / 352.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1044, allocations: 8 kB / 352.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.1049, allocations: 161.6 kB / 352.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1053, allocations: 99.81 kB / 352.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/0.1089, allocations: 3.996 MB / 356.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.1093, allocations: 71.5 kB / 356.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.1094, allocations: 24 kB / 356.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006019/0.11, allocations: 382 kB / 356.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005255/0.1105, allocations: 384.7 kB / 357.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000857/0.1114, allocations: 0.5378 MB / 357.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.1114, allocations: 7.875 kB / 357.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001294/0.1127, allocations: 0.7422 MB / 358.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1127, allocations: 12.03 kB / 358.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1128, allocations: 4 kB / 358.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.1132, allocations: 161.6 kB / 358.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1135, allocations: 99.81 kB / 358.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.117, allocations: 3.993 MB / 362.8 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.1174, allocations: 67.5 kB / 362.9 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.1175, allocations: 24 kB / 362.9 MB, free: 280 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 29 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.1177, allocations: 236.2 kB / 363.1 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.1178, allocations: 63.23 kB / 363.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.1179, allocations: 73.53 kB / 363.3 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.1179, allocations: 7.984 kB / 363.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1179, allocations: 0 / 363.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.1182, allocations: 188.2 kB / 363.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.1182, allocations: 19.98 kB / 363.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.1186, allocations: 35.97 kB / 363.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.1187, allocations: 48.5 kB / 363.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001831/0.1205, allocations: 0.797 MB / 364.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001547/0.1221, allocations: 1.002 MB / 365.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004493/0.1226, allocations: 252.3 kB / 365.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.1229, allocations: 326.9 kB / 365.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of Backend: time 4.31e-07/0.1229, allocations: 0 / 365.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.125, allocations: 1.376 MB / 367.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of SimCode: time 0.001908/0.1269, allocations: 1.787 MB / 369.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of Templates: time 0.122/0.249, allocations: 12.69 MB / 381.8 MB, free: 52.84 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches