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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001799/0.001799, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009861/0.0009863, allocations: 43.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2129, allocations: 49.44 MB / 401.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.004889/0.2178, allocations: 3.732 MB / 405.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2196, allocations: 1.138 MB / 406.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.2198, allocations: 15.94 kB / 406.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.22, allocations: 87.17 kB / 406.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.2203, allocations: 134.9 kB / 406.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2208, allocations: 226.5 kB / 406.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005749/0.2214, allocations: 0.6236 MB / 407.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.2218, allocations: 299.4 kB / 407.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.2221, allocations: 235.1 kB / 407.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.2223, allocations: 246.8 kB / 408.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.2224, allocations: 60 kB / 408.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.2225, allocations: 56 kB / 408.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2227, allocations: 147.5 kB / 408.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.2229, allocations: 266.7 kB / 408.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.2235, allocations: 0.6747 MB / 409.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2235, allocations: 0 / 409.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2235, allocations: 7.875 kB / 409.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2236, allocations: 0 / 409.4 MB, free: 1.059 MB / 318.1 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.002405/0.226, allocations: 0.8276 MB / 410.2 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.226, allocations: 12.03 kB / 410.2 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.2263, allocations: 56.28 kB / 410.3 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.2273, allocations: 396.7 kB / 410.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.2274, allocations: 33.38 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.2275, allocations: 44.38 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.2292, allocations: 0.5078 MB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.2293, allocations: 0 / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.2293, allocations: 27.94 kB / 411.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.2294, allocations: 12 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.2309, allocations: 383.7 kB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.2354, allocations: 1.649 MB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2373, allocations: 418.8 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.2379, allocations: 140.8 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.238, allocations: 4 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009295/0.2389, allocations: 276.3 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 3.035e-06/0.2389, allocations: 0 / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002697/0.2416, allocations: 0.625 MB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.2418, allocations: 140.5 kB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.2424, allocations: 332.4 kB / 415.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.2425, allocations: 37.7 kB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.2428, allocations: 248 kB / 415.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.243, allocations: 102.6 kB / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.2432, allocations: 86.12 kB / 415.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2434, allocations: 346.8 kB / 416 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.2441, allocations: 150.5 kB / 416.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.2449, allocations: 307 kB / 416.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.2464, allocations: 421.4 kB / 416.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2464, allocations: 4 kB / 416.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001809/0.2482, allocations: 0.4902 MB / 417.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.2483, allocations: 7.984 kB / 417.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.2483, allocations: 4 kB / 417.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.2486, allocations: 40.84 kB / 417.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.2492, allocations: 75.89 kB / 417.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.2515, allocations: 1.677 MB / 419.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.2522, allocations: 67.7 kB / 419.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.2523, allocations: 15.94 kB / 419.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008149/0.2531, allocations: 276.9 kB / 419.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000746/0.2539, allocations: 284.7 kB / 419.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/0.2551, allocations: 405 kB / 420.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.2551, allocations: 3.938 kB / 420.2 MB, free: 5.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001637/0.2568, allocations: 469.7 kB / 420.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2568, allocations: 8 kB / 420.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2568, allocations: 7.984 kB / 420.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.2571, allocations: 40.84 kB / 420.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.2577, allocations: 76.17 kB / 420.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.2599, allocations: 1.67 MB / 422.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.2606, allocations: 63.66 kB / 422.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.2606, allocations: 23.98 kB / 422.5 MB, free: 3 MB / 334.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: 21 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,idealthyristor.off,$PRE.idealthyristor.off,pulse2.fire_p,pulse2.twoPulse.fire_n[1],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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.2609, allocations: 218.6 kB / 422.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/0.261, allocations: 39.53 kB / 422.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2612, allocations: 44.02 kB / 422.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.2612, allocations: 3.984 kB / 422.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2612, allocations: 0 / 422.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.2615, allocations: 144.6 kB / 423 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.2616, allocations: 4 kB / 423 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.2621, allocations: 31.97 kB / 423 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.2623, allocations: 35.89 kB / 423 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002083/0.2644, allocations: 498.5 kB / 423.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00224/0.2667, allocations: 0.7247 MB / 424.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006635/0.2673, allocations: 159.9 kB / 424.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.2678, allocations: 227.1 kB / 424.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of Backend: time 8.61e-07/0.2678, allocations: 0 / 424.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.2705, allocations: 0.7752 MB / 425.4 MB, free: 36 kB / 334.1 MB Notification: Performance of SimCode: time 0.002541/0.2731, allocations: 1.28 MB / 426.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Templates: time 0.01575/0.2888, allocations: 6.853 MB / 433.5 MB, free: 7.941 MB / 350.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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