Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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 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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001659/0.001659, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009502/0.0009502, allocations: 43.94 kB / 352 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2173, allocations: 49.43 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.006008/0.2233, allocations: 4.851 MB / 406.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.2258, allocations: 1.367 MB / 407.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.2261, allocations: 23.88 kB / 407.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.2264, allocations: 130.7 kB / 407.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.2269, allocations: 210.3 kB / 408 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.2274, allocations: 295.5 kB / 408.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008036/0.2282, allocations: 0.9164 MB / 409.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.2289, allocations: 471.3 kB / 409.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.2292, allocations: 350.7 kB / 410.1 MB, free: 216 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.2296, allocations: 374.3 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2298, allocations: 88 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2299, allocations: 84 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.2301, allocations: 195.3 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.2304, allocations: 413.9 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.2313, allocations: 1 MB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2313, allocations: 0 / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2313, allocations: 0 / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.2313, allocations: 0 / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001832/0.2331, allocations: 1.076 MB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2332, allocations: 15.97 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2333, allocations: 87.91 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.234, allocations: 0.4911 MB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.234, allocations: 53.69 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-05/0.2341, allocations: 64.38 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2354, allocations: 0.7248 MB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2354, allocations: 0 / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.2355, allocations: 31.98 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2355, allocations: 12 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2366, allocations: 0.5321 MB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2399, allocations: 2.36 MB / 417.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2412, allocations: 0.5706 MB / 418.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.2419, allocations: 313.3 kB / 418.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.2419, allocations: 8.422 kB / 418.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.2426, allocations: 372.5 kB / 418.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/0.2426, allocations: 4 kB / 418.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.002085/0.2447, allocations: 0.8789 MB / 419.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.2448, allocations: 174.7 kB / 419.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.2453, allocations: 457.8 kB / 420.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.2454, allocations: 41.69 kB / 420.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.2456, allocations: 332.2 kB / 420.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.2457, allocations: 157.8 kB / 420.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2459, allocations: 110.3 kB / 421 MB, free: 4.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.246, allocations: 370.7 kB / 421.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.2464, allocations: 211.4 kB / 421.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.247, allocations: 374.5 kB / 421.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.2479, allocations: 0.5271 MB / 422.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2479, allocations: 0 / 422.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001253/0.2492, allocations: 0.6526 MB / 423.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2492, allocations: 11.98 kB / 423.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2492, allocations: 8.031 kB / 423.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.2495, allocations: 76.81 kB / 423.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.2499, allocations: 103.8 kB / 423.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.2517, allocations: 1.932 MB / 425.2 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2522, allocations: 79.61 kB / 425.3 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.2522, allocations: 24 kB / 425.3 MB, free: 268 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005912/0.2528, allocations: 353.4 kB / 425.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005117/0.2533, allocations: 370.2 kB / 426 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008198/0.2542, allocations: 0.5037 MB / 426.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.2542, allocations: 0 / 426.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001145/0.2553, allocations: 0.6326 MB / 427.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.2553, allocations: 12.5 kB / 427.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2554, allocations: 8 kB / 427.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.2556, allocations: 84.98 kB / 427.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.256, allocations: 99.81 kB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.2577, allocations: 1.92 MB / 429.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.2581, allocations: 83.55 kB / 429.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.2582, allocations: 20 kB / 429.4 MB, free: 11.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 25 (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,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_n.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_p.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 (66): * Single equations (assignments): 65 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.2583, allocations: 232.1 kB / 429.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2584, allocations: 59.34 kB / 429.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.2586, allocations: 57.52 kB / 429.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2586, allocations: 7.984 kB / 429.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2586, allocations: 0 / 429.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.2588, allocations: 184.3 kB / 429.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.2589, allocations: 12.06 kB / 429.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.2593, allocations: 39.95 kB / 430 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2594, allocations: 44.31 kB / 430 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001577/0.261, allocations: 0.7611 MB / 430.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001586/0.2626, allocations: 1.032 MB / 431.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004595/0.263, allocations: 247.3 kB / 432.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.2634, allocations: 319.1 kB / 432.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2634, allocations: 0 / 432.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.2653, allocations: 0.9863 MB / 433.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of SimCode: time 0.001941/0.2672, allocations: 1.652 MB / 435 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Templates: time 0.01698/0.2842, allocations: 10.48 MB / 445.5 MB, free: 11.83 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches